From: David Goulet Date: Fri, 29 Apr 2011 17:04:42 +0000 (-0400) Subject: Fix the lttng popt context param X-Git-Tag: v2.0-pre1~168 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=60cdef54fab0dea23a80ab199064128ab559af84;p=lttng-tools.git Fix the lttng popt context param Signed-off-by: David Goulet --- diff --git a/lttng/options.c b/lttng/options.c index 61a3802e5..4b8eeb50b 100644 --- a/lttng/options.c +++ b/lttng/options.c @@ -108,7 +108,7 @@ int parse_args(int argc, const char **argv) return -1; } - pc = poptGetContext("lttng", argc, argv, long_options, 0); + pc = poptGetContext(NULL, argc, argv, long_options, 0); poptReadDefaultConfig(pc, 0); while ((opt = poptGetNextOpt(pc)) != -1) {