projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5afda95
)
parse: for option with posval, dump allowed values on failure
author
Jens Axboe
<axboe@kernel.dk>
Wed, 10 Apr 2013 09:06:34 +0000
(11:06 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 10 Apr 2013 09:06:34 +0000
(11:06 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
parse.c
patch
|
blob
|
blame
|
history
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;
}
}