From 2c997ff4e8f13f7849f5249e203624894209bf9a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Sat, 5 Sep 2015 15:33:54 -0400 Subject: [PATCH] Fix: Bad cast of lttng_kernel_instrumentation to lttng_event_type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- 2.34.1