From: Jens Axboe Date: Thu, 2 Nov 2006 07:45:53 +0000 (+0100) Subject: [PATCH] Print an error when parsing a job option fails X-Git-Tag: fio-1.8~16 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=5f599d8eae80112b585aabb63b595965689ae4b8 [PATCH] Print an error when parsing a job option fails Signed-off-by: Jens Axboe --- diff --git a/parse.c b/parse.c index 399aae49..7af6be1a 100644 --- a/parse.c +++ b/parse.c @@ -240,6 +240,9 @@ static int handle_option(struct fio_option *o, const char *ptr, void *data) ret = 1; } + if (ret) + fprintf(stderr, "fio: failed parsing %s=%s\n", o->name, ptr); + return ret; }