From: Rebecca Cran Date: Thu, 26 Oct 2017 21:28:23 +0000 (-0600) Subject: Fix 'nice' parameter range: should be -20 to 19, not -19 to 20. X-Git-Tag: fio-3.2~21 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=11fd6aa8569c55c8488020e4e315d550d121ff79 Fix 'nice' parameter range: should be -20 to 19, not -19 to 20. Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index 8ee986a7..5813a66b 100644 --- a/options.c +++ b/options.c @@ -3252,8 +3252,8 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .type = FIO_OPT_INT, .off1 = offsetof(struct thread_options, nice), .help = "Set job CPU nice value", - .minval = -19, - .maxval = 20, + .minval = -20, + .maxval = 19, .def = "0", .interval = 1, .category = FIO_OPT_C_GENERAL,