Fix: babeltrace should use output format argument
authorFredrik Oestman <Fredrik_Oestman@mentor.com>
Wed, 30 May 2012 12:36:07 +0000 (08:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 30 May 2012 12:36:07 +0000 (08:36 -0400)
"Please make this little change, otherwise ctf-text is always output
regardless of "-o"."

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
converter/babeltrace.c

index 55d89c895a47c0df8cb78bb48d9259bc4c3054d3..fdbedae5bafcb40a300752428a79fc561824dd00 100644 (file)
@@ -487,7 +487,7 @@ int main(int argc, char **argv)
                }
                strlower(opt_input_format);
        }
-       if (opt_output_format) {
+       if (opt_output_format_arg) {
                opt_output_format = strdup(opt_output_format_arg);
                if (!opt_output_format) {
                        partial_error = 1;
This page took 0.0338 seconds and 4 git commands to generate.