X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fkernel-ctl.c;h=5d70296ea82008669c6710c57a19024c4620f051;hp=12a00eb1fb8debc0e73d54d4ca00355863c839fd;hb=9cb983500508a95363a09a5a65d2f67774c38b69;hpb=bcd8d9db8fccd691c1e919bfa7c0d49a2fda35f9 diff --git a/ltt-sessiond/kernel-ctl.c b/ltt-sessiond/kernel-ctl.c index 12a00eb1f..5d70296ea 100644 --- a/ltt-sessiond/kernel-ctl.c +++ b/ltt-sessiond/kernel-ctl.c @@ -68,10 +68,10 @@ int kernel_create_channel(struct command_ctx *cmd_ctx) { int ret; struct ltt_kernel_channel *lkc; - struct lttng_channel *chan; + struct lttng_kernel_channel *chan; lkc = malloc(sizeof(struct ltt_kernel_channel)); - chan = malloc(sizeof(struct lttng_channel)); + chan = malloc(sizeof(struct lttng_kernel_channel)); if (lkc == NULL || chan == NULL) { perror("kernel channel malloc");