X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_channels.c;h=696b8e0947ad20ca48e8b1ef3d5913d45b32f6c1;hb=134e72ede7c667571e24f63cd45cdc52e12c7de8;hp=b7863332e6888837840a46995e0361adb8663c17;hpb=3ecec76a3cd1eb6b301d03895ab425976ba28dee;p=lttng-tools.git diff --git a/src/bin/lttng/commands/enable_channels.c b/src/bin/lttng/commands/enable_channels.c index b7863332e..696b8e094 100644 --- a/src/bin/lttng/commands/enable_channels.c +++ b/src/bin/lttng/commands/enable_channels.c @@ -15,7 +15,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -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; } /*