Prettify usage()
[babeltrace.git] / tests / test-dummytrace.c
index ad0ff2041527d0e1fd3ecbcb56d066aba313b002..06bb695b6434266a160d2e2a97377f40162cacfc 100644 (file)
@@ -32,7 +32,7 @@
 #include <babeltrace/babeltrace.h>
 #include <babeltrace/ctf/types.h>
 
-int babeltrace_debug = 0;
+int babeltrace_debug, babeltrace_verbose;
 
 static uuid_t s_uuid;
 
@@ -126,7 +126,7 @@ void trace_text(FILE *input, int output)
        char *line = NULL, *nl;
        size_t linesize;
 
-       ctf_init_pos(&pos, output);
+       ctf_init_pos(&pos, output, O_WRONLY);
 
        write_packet_header(&pos, s_uuid);
        write_packet_context(&pos);
This page took 0.0236 seconds and 4 git commands to generate.