From 3e25cb206e0a0e8ae04f7eb1e310970baf01a323 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 22 Nov 2011 09:51:23 +0100 Subject: [PATCH] edit printout in lttng list "all" channels Signed-off-by: Mathieu Desnoyers --- lttng/commands/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lttng/commands/list.c b/lttng/commands/list.c index bac17b897..035269a58 100644 --- a/lttng/commands/list.c +++ b/lttng/commands/list.c @@ -333,7 +333,7 @@ static int list_channels(const char *channel_name) unsigned int chan_found = 0; struct lttng_channel *channels = NULL; - DBG("Listing channel(s) (%s)", channel_name); + DBG("Listing channel(s) (%s)", channel_name ? : ""); count = lttng_list_channels(handle, &channels); if (count < 0) { -- 2.34.1