projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
options: add debug code for failure to lookup option names
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index 80a7047ee65179b3a47af37f031543d18b9feb81..6ceefbc10a0fd158e5bbcfd48a825af9851d375a 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-4206,7
+4206,7
@@
int __fio_option_is_set(struct thread_options *o, unsigned int off1)
if (!opt) {
log_err("fio: no option found at offset %u\n", off1);
- return
0
;
+ return
-1
;
}
opt_off = opt - &fio_options[0];