X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng%2Fcommands%2Flist.c;h=50dad9a2b4efc3aa57cb747c72820cea36773add;hb=6636f946fcc80ae1d72bf9c317ce2964aa385294;hp=6afec1876c23b01ec24a878b724d0f8a0c2a5e08;hpb=7a3d132871a4414b6cd232e7f41e6a1f50d9bf16;p=lttng-tools.git diff --git a/lttng/commands/list.c b/lttng/commands/list.c index 6afec1876..50dad9a2b 100644 --- a/lttng/commands/list.c +++ b/lttng/commands/list.c @@ -267,7 +267,7 @@ static int list_channels(const char *channel_name) /* Listing events per channel */ ret = list_events(channels[i].name); if (ret < 0) { - MSG("%s", lttng_get_readable_code(ret)); + MSG("%s", lttng_strerror(ret)); } if (chan_found) {