From e2834a7eb31a5ce9faf16b354b0e3c608029e1d9 Mon Sep 17 00:00:00 2001 From: Fredrik Oestman Date: Wed, 30 May 2012 08:36:07 -0400 Subject: [PATCH] Fix: babeltrace should use output format argument "Please make this little change, otherwise ctf-text is always output regardless of "-o"." Signed-off-by: Mathieu Desnoyers --- converter/babeltrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter/babeltrace.c b/converter/babeltrace.c index 55d89c89..fdbedae5 100644 --- a/converter/babeltrace.c +++ b/converter/babeltrace.c @@ -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; -- 2.34.1