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.7.0-rc2~68 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d2b37803d373150a7acc34c205b0a9b5ed59ad75;p=lttng-tools.git 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++; }