parse: fix segfault if posval option doesn't have a value
authorJens Axboe <axboe@fb.com>
Wed, 16 Dec 2015 15:32:30 +0000 (08:32 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 16 Dec 2015 15:32:30 +0000 (08:32 -0700)
commit078b46d19bdebe58e4caf02a857440cf760fad6d
treeff699a72400b225d591d05f291aa1dae2812d263
parentbc0fec0e12f19dd424f4bf83cfca89d434184c8d
parse: fix segfault if posval option doesn't have a value

If the user did

continue_on_error

in the job file without setting one of the possible values
for that option, we'd crash in string compare. Now fio will
exit in error, showing the valid options instead.

Signed-off-by: Jens Axboe <axboe@fb.com>
parse.c