X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fhelp.c;h=a9a01e7f14a65db8084e5b8cdbdaa6c0ad038c8d;hb=81663f073dbfb4b61c06a0ceb8ca33c4fc41b1c5;hp=7ef21c2f58008117d5d2a645a890e0819af067e4;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/src/bin/lttng/commands/help.c b/src/bin/lttng/commands/help.c index 7ef21c2f5..a9a01e7f1 100644 --- a/src/bin/lttng/commands/help.c +++ b/src/bin/lttng/commands/help.c @@ -10,7 +10,6 @@ #include #include #include -#include #include "../command.h" #include @@ -112,7 +111,7 @@ int cmd_help(int argc, const char **argv, const struct cmd_struct commands[]) /* Show command's help */ cmd_argv[0] = cmd->name; cmd_argv[1] = "--help"; - assert(cmd->func); + LTTNG_ASSERT(cmd->func); ret = cmd->func(2, cmd_argv); end: