Truncate exclusion names to have a terminal '\0'
[lttng-tools.git] / src / bin / lttng-sessiond / syscall.c
index 1fc68d2ca5d73319ebddb7f395106b2fc083ad57..7b9227b86912f8a80628167fdc2908df2eb6ccf4 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/bitfield.h>
 #include <common/common.h>
@@ -424,7 +423,7 @@ ssize_t syscall_list_channel(struct ltt_kernel_channel *kchan,
                strncpy(events[count].name, syscall_table[i].name,
                                sizeof(events[count].name));
                events[count].enabled = 1;
-               events[count].type = LTTNG_KERNEL_SYSCALL;
+               events[count].type = LTTNG_EVENT_SYSCALL;
                count++;
        }
 
This page took 0.026029 seconds and 4 git commands to generate.