From 76527b19c2464f50d6b124d40ba190db381b65d3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 16 May 2016 19:13:15 -0600 Subject: [PATCH 1/1] options: 0.00 is a valid gauss dev Signed-off-by: Jens Axboe --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1