X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng%2Fcommands%2Flist.c;h=abbdea1ba8bb904c86508c3ef965100073dd225c;hb=9730260e7e733b421e1af26a9953f938de2628cc;hp=035269a5860ac8c43364ae2044f9f48be389c3fa;hpb=3e25cb206e0a0e8ae04f7eb1e310970baf01a323;p=lttng-tools.git diff --git a/lttng/commands/list.c b/lttng/commands/list.c index 035269a58..abbdea1ba 100644 --- a/lttng/commands/list.c +++ b/lttng/commands/list.c @@ -279,7 +279,7 @@ static int list_events(const char *channel_name) MSG("\n%sEvents:", indent4); if (count == 0) { - MSG("%sNone", indent6); + MSG("%sNone\n", indent6); goto end; } @@ -482,7 +482,7 @@ error: int cmd_list(int argc, const char **argv) { int opt, i, ret = CMD_SUCCESS; - unsigned int nb_domain; + int nb_domain; const char *session_name; static poptContext pc; struct lttng_domain domain;