From: Jens Axboe Date: Tue, 17 May 2016 01:13:15 +0000 (-0600) Subject: options: 0.00 is a valid gauss dev X-Git-Tag: fio-2.10~24 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=76527b19c2464f50d6b124d40ba190db381b65d3;hp=8c07860de982fabaaf41d44c22aa86aba2539b58 options: 0.00 is a valid gauss dev Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index 71c77b92..a9256632 100644 --- a/options.c +++ b/options.c @@ -1047,7 +1047,7 @@ static int str_random_distribution_cb(void *data, const char *str) return 0; td->o.pareto_h.u.f = val; } else { - if (val <= 0.00 || val >= 100.0) { + if (val < 0.00 || val >= 100.0) { log_err("fio: normal deviation out of range (0 < input < 100.0)\n"); return 1; }