Fix: ctf-writertype serialization must 'escape' '_'-prefixed field names
[babeltrace.git] / cli / babeltrace-log.c
index ca406095970d97d834b4a066be1f622d96685833..2ff48ca69e03ce40b409a8b366e335066df05672 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdbool.h>
+#include <string.h>
 #include <assert.h>
 #include <babeltrace/babeltrace.h>
 #include <popt.h>
@@ -150,7 +151,7 @@ int main(int argc, char *argv[])
 
        bt_argv[13] = output_path;
        (void) g_spawn_sync(NULL, bt_argv, NULL,
-               G_SPAWN_DEFAULT | G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL,
+               G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL,
                NULL, NULL, &retcode, &error);
 
        if (error) {
This page took 0.02881 seconds and 4 git commands to generate.