Fix wrong time conversion on --status-interval= command line option
authorJens Axboe <axboe@fb.com>
Fri, 28 Mar 2014 14:09:10 +0000 (08:09 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 28 Mar 2014 14:09:10 +0000 (08:09 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
init.c

diff --git a/init.c b/init.c
index 9b0666d74e5651aa566dbae890715e644c62acc7..adb9066b14a86631e0019967889863c091f0b2ac 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1938,7 +1938,7 @@ int parse_cmd_line(int argc, char *argv[], int client_type)
                case 'L': {
                        long long val;
 
-                       if (check_str_time(optarg, &val, 1)) {
+                       if (check_str_time(optarg, &val, 0)) {
                                log_err("fio: failed parsing time %s\n", optarg);
                                do_exit++;
                                exit_val = 1;