summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-06-18 15:30:09 -0700
committerJens Axboe <axboe@fb.com>2014-06-18 15:30:09 -0700
commitc89318761586dbd77b8f31ce0ed68ff4fc086c89 (patch)
tree875af58d4f9a86f00056c781cf0f3705716cbed2 /parse.c
parent9e85c34edc17529435fbe78cc23a2346e6103742 (diff)
downloadfio-c89318761586dbd77b8f31ce0ed68ff4fc086c89.tar.gz
fio-c89318761586dbd77b8f31ce0ed68ff4fc086c89.tar.bz2
Add support for compiling for ESX
With contributions from Ryan Haynes <rhaynes@fusionio.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 188f7282..e6d9406e 100644
--- a/parse.c
+++ b/parse.c
@@ -1167,7 +1167,7 @@ void option_init(struct fio_option *o)
o->minfp = DBL_MIN;
o->maxfp = DBL_MAX;
}
- if (o->type == FIO_OPT_STR_SET && o->def) {
+ if (o->type == FIO_OPT_STR_SET && o->def && !o->no_warn_def) {
log_err("Option %s: string set option with"
" default will always be true\n", o->name);
}