Fix the lttng popt context param
authorDavid Goulet <david.goulet@polymtl.ca>
Fri, 29 Apr 2011 17:04:42 +0000 (13:04 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Fri, 29 Apr 2011 17:04:42 +0000 (13:04 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng/options.c

index 61a3802e5548872e72c82d614df76a7b9e6f66cd..4b8eeb50bed749cda2f07fd91fce04c998a206e9 100644 (file)
@@ -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) {
This page took 0.031518 seconds and 4 git commands to generate.