projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comment on cpumask not working with a CPU count > 32
[fio.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index 8a2e6f215f0ba1f3df53abb2e3e9774a7180af17..44c02f60eb1488dba372ea34683bb4a3bba54e70 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-236,7
+236,7
@@
static int __handle_option(struct fio_option *o, const char *ptr, void *data,
dprint(FD_PARSE, "__handle_option=%s, type=%d, ptr=%s\n", o->name,
o->type, ptr);
dprint(FD_PARSE, "__handle_option=%s, type=%d, ptr=%s\n", o->name,
o->type, ptr);
- if (!ptr && o->type != FIO_OPT_STR_SET) {
+ if (!ptr && o->type != FIO_OPT_STR_SET
&& o->type != FIO_OPT_STR
) {
fprintf(stderr, "Option %s requires an argument\n", o->name);
return 1;
}
fprintf(stderr, "Option %s requires an argument\n", o->name);
return 1;
}