parse: for option with posval, dump allowed values on failure
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index dddcb8e51cc007634c60050de0a812f7518ca8c1..35410b2ecf06f4a935a968dd61416309ae04c2c3 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -479,7 +479,8 @@ static int __handle_option(struct fio_option *o, const char *ptr, void *data,
                                }
                        }
                        if (ret) {
-                               log_err("value %d not in allowed range\n",ull);
+                               log_err("fio: value %llu not allowed:\n", ull);
+                               show_option_values(o);
                                return 1;
                        }
                }