From: Jens Axboe Date: Fri, 23 Mar 2012 18:22:21 +0000 (+0100) Subject: stat: move final \n of terse output to the end X-Git-Tag: fio-2.0.7~10 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=946e42764c6cc536d42e55acbf2fa8bc424124bd;hp=503bbe9768ec8d4a1c139224c917eef134a941f4;p=fio.git stat: move final \n of terse output to the end Don't print a new line, description, then another new line. Signed-off-by: Jens Axboe --- diff --git a/stat.c b/stat.c index e72148b4..26f45f4d 100644 --- a/stat.c +++ b/stat.c @@ -782,11 +782,12 @@ static void show_thread_status_terse_v3(struct thread_stat *ts, /* Additional output if continue_on_error set - default off*/ if (ts->continue_on_error) log_info(";%lu;%d", ts->total_err_count, ts->first_error); - log_info("\n"); /* Additional output if description is set */ if (strlen(ts->description)) - log_info(";%s\n", ts->description); + log_info(";%s", ts->description); + + log_info("\n"); } static void show_thread_status_terse(struct thread_stat *ts,