From 946e42764c6cc536d42e55acbf2fa8bc424124bd Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 23 Mar 2012 19:22:21 +0100 Subject: [PATCH] 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 --- stat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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, -- 2.25.1