X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=74c24d02d5d4bc200da3cf671c64d363d02e92a4;hp=06ac6596292851ed0f95a4df8d096a513076026b;hb=067430bba6df79aa4e263e94ace684d738c75074;hpb=f20485ad77872d6c5084dead547420386a6ecd5e diff --git a/options.c b/options.c index 06ac6596..74c24d02 100644 --- a/options.c +++ b/options.c @@ -102,7 +102,7 @@ static int bssplit_ddir(struct thread_data *td, int ddir, char *str) } else perc = -1; - if (str_to_decimal(fname, &val, 1, 1, td)) { + if (str_to_decimal(fname, &val, 1, td)) { log_err("fio: bssplit conversion failed\n"); free(td->o.bssplit); return 1; @@ -213,7 +213,7 @@ static int str_rw_cb(void *data, const char *str) else { long long val; - if (str_to_decimal(nr, &val, 1, 0, td)) { + if (str_to_decimal(nr, &val, 1, td)) { log_err("fio: rw postfix parsing failed\n"); free(nr); return 1;