From 045e5491d29048a9d888559cd91d6d6f304fc171 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 7 Dec 2011 16:19:54 -0500 Subject: [PATCH] Fix wrong lttng_channel name size Signed-off-by: David Goulet --- include/lttng/lttng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index ebcdd2b58..f1c913b66 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -172,7 +172,7 @@ struct lttng_channel_attr { * Channel information structure. For both kernel and user-space. */ struct lttng_channel { - char name[NAME_MAX]; + char name[LTTNG_SYMBOL_NAME_LEN]; uint32_t enabled; struct lttng_channel_attr attr; }; -- 2.34.1