projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix parser bug
[fio.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index 0e8cd5ff1454f53309cc260019d7b3d27e898a7e..11d745f15649ddd40e2aab2baca52582802ab2b3 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-197,6
+197,9
@@
static int __handle_option(struct fio_option *o, const char *ptr, void *data,
const struct value_pair *vp;
int i;
+ if (!first)
+ break;
+
ret = 1;
for (i = 0; i < PARSE_MAX_VP; i++) {
vp = &o->posval[i];