From b6e25da4225ca990f6997d2d60fe96a7b51d4661 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 27 Oct 2006 14:36:26 +0200 Subject: [PATCH] [PATCH] FIO_OPT_RANGE breakage After terminating the first string, remember to reset the pointer to the beginning of the string. Signed-off-by: Jens Axboe --- parse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parse.c b/parse.c index 48703b69..e001eef4 100644 --- a/parse.c +++ b/parse.c @@ -185,6 +185,7 @@ static int handle_option(struct fio_option *o, const char *ptr, void *data) p2 = p1 + 1; *p1 = '\0'; + p1 = ptr; ret = 1; if (!check_range_bytes(p1, &ul1) && !check_range_bytes(p2, &ul2)) { -- 2.25.1