Fix: sym name len (kernel)
[lttng-tools.git] / src / bin / lttng-sessiond / trace-kernel.c
index 0c14052e1a37aeb986ab51ab14e6578caa3d0ad9..a5c215fae98a068f359c0bf182e307a693dc9244 100644 (file)
@@ -159,7 +159,7 @@ struct ltt_kernel_channel *trace_kernel_create_channel(
                strncpy(lkc->channel->name, DEFAULT_CHANNEL_NAME,
                        sizeof(lkc->channel->name));
        }
-       lkc->channel->name[LTTNG_UST_SYM_NAME_LEN - 1] = '\0';
+       lkc->channel->name[LTTNG_KERNEL_SYM_NAME_LEN - 1] = '\0';
 
        lkc->fd = -1;
        lkc->stream_count = 0;
This page took 0.030454 seconds and 4 git commands to generate.