Fix: Bad cast of lttng_kernel_instrumentation to lttng_event_type
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 5 Sep 2015 19:33:54 +0000 (15:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 5 Sep 2015 19:33:54 +0000 (15:33 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/syscall.c

index 1fc68d2ca5d73319ebddb7f395106b2fc083ad57..43c0a2010225a804763b6843bd7329a44c542726 100644 (file)
@@ -424,7 +424,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;
                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++;
        }
 
                count++;
        }
 
This page took 0.025119 seconds and 4 git commands to generate.