init pos cleanup
[babeltrace.git] / tests / test-dummytrace.c
index ad0ff2041527d0e1fd3ecbcb56d066aba313b002..ca79115ff782e407c763295cfdc4683d5bf986c3 100644 (file)
@@ -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.023507 seconds and 4 git commands to generate.