lttng enable-channel memsets lttng_channel to -1
[lttng-tools.git] / src / bin / lttng / commands / enable_channels.c
index b7863332e6888837840a46995e0361adb8663c17..696b8e0947ad20ca48e8b1ef3d5913d45b32f6c1 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
@@ -381,6 +380,7 @@ static void init_channel_config(void)
         * those needed to be set by the default values.
         */
        memset(&chan.attr, -1, sizeof(chan.attr));
+       chan.attr.extended.ptr = NULL;
 }
 
 /*
This page took 0.023232 seconds and 4 git commands to generate.