X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=parse.c;h=68229d052d95b339f681bcde3e372b894ce50aa1;hp=4d4fdddeae573f12e10270291785401029399d53;hb=dd199856ec977d7d1d1c977b8d53643d9e373be2;hpb=29ac257cb18a38c20f970bd02f2bfb3a027309d5 diff --git a/parse.c b/parse.c index 4d4fddde..68229d05 100644 --- a/parse.c +++ b/parse.c @@ -556,8 +556,8 @@ static int __handle_option(struct fio_option *o, const char *ptr, void *data, return 1; } if (o->minval && ull < o->minval) { - log_err("min value out of range: %llu" - " (%u min)\n", ull, o->minval); + log_err("min value out of range: %lld" + " (%d min)\n", ull, o->minval); return 1; } if (o->posval[0].ival) { @@ -1345,7 +1345,7 @@ void options_free(struct fio_option *options, void *data) dprint(FD_PARSE, "free options\n"); for (o = &options[0]; o->name; o++) { - if (o->type != FIO_OPT_STR_STORE || !o->off1) + if (o->type != FIO_OPT_STR_STORE || !o->off1 || o->no_free) continue; ptr = td_var(data, o, o->off1);