Fix: Possible dereference of null pointers
[lttng-tools.git] / src / lib / lttng-ctl / load.c
index 3811981ef007f6c906ff326fc5b27ddc2d09a093..3599503e51ad5b08eba677a01b213a107bad7ad1 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 
@@ -166,7 +167,7 @@ int lttng_load_session(struct lttng_load_session_attr *attr)
        }
 
        ret = config_load_session(attr->input_url, attr->session_name,
-                       attr->overwrite);
+                       attr->overwrite, 0);
 
 end:
        return ret;
This page took 0.022891 seconds and 4 git commands to generate.