From: Jérémie Galarneau Date: Sat, 5 Sep 2015 19:33:54 +0000 (-0400) Subject: Fix: Bad cast of lttng_kernel_instrumentation to lttng_event_type X-Git-Tag: v2.8.0-rc1~391 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=2c997ff4e8f13f7849f5249e203624894209bf9a Fix: Bad cast of lttng_kernel_instrumentation to lttng_event_type Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/syscall.c b/src/bin/lttng-sessiond/syscall.c index 1fc68d2ca..43c0a2010 100644 --- a/src/bin/lttng-sessiond/syscall.c +++ b/src/bin/lttng-sessiond/syscall.c @@ -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; - events[count].type = LTTNG_KERNEL_SYSCALL; + events[count].type = LTTNG_EVENT_SYSCALL; count++; }