... by renaming a local variable.
Change-Id: If0aeb5adc71a0cc72efa60582df5447e12ad74d0
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
case OPT_MAX_SIZE:
{
uint64_t val;
- const char *opt = poptGetOptArg(pc);
+ const char *optarg = poptGetOptArg(pc);
- if (utils_parse_size_suffix((char *) opt, &val) < 0) {
- ERR("Unable to handle max-size value %s", opt);
+ if (utils_parse_size_suffix((char *) optarg, &val) < 0) {
+ ERR("Unable to handle max-size value %s", optarg);
cmd_ret = CMD_ERROR;
goto end;
}