Fix terse output with description set
authorVikram Seth <seth.vik@gmail.com>
Fri, 23 Mar 2012 07:09:09 +0000 (08:09 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Mar 2012 07:09:09 +0000 (08:09 +0100)
I have seen that using 2.05 version of fio the terse output formatting
has an issue when there is a text description given in the test file.
There is no newline separating the description and the next job stats.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c

diff --git a/stat.c b/stat.c
index fa9af7c7c400ff8825cba27e1c0967efaa147e11..e72148b49ad0825f3e154bda0a1a303715f70764 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -786,7 +786,7 @@ static void show_thread_status_terse_v3(struct thread_stat *ts,
 
        /* Additional output if description is set */
        if (strlen(ts->description))
 
        /* Additional output if description is set */
        if (strlen(ts->description))
-               log_info(";%s", ts->description);
+               log_info(";%s\n", ts->description);
 }
 
 static void show_thread_status_terse(struct thread_stat *ts,
 }
 
 static void show_thread_status_terse(struct thread_stat *ts,