From 259e47dea8db94a372a73b07b5245d43d4f9ab92 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 13 Oct 2011 21:05:59 +0200 Subject: [PATCH 1/1] Only print ts->description if set for non-terse output Identical to commit 4b0f2258, but for non-terse output. Signed-off-by: Jens Axboe --- stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stat.c b/stat.c index 5e0fe436..d310686d 100644 --- a/stat.c +++ b/stat.c @@ -520,7 +520,7 @@ void show_thread_status(struct thread_stat *ts, struct group_run_stats *rs) ts->error, ts->verror, (int) ts->pid); } - if (ts->description) + if (strlen(ts->description)) log_info(" Description : [%s]\n", ts->description); if (ts->io_bytes[DDIR_READ]) -- 2.25.1