From: David Goulet Date: Wed, 7 Dec 2011 21:19:54 +0000 (-0500) Subject: Fix wrong lttng_channel name size X-Git-Tag: v2.0-pre15~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=045e5491d29048a9d888559cd91d6d6f304fc171;p=lttng-tools.git Fix wrong lttng_channel name size Signed-off-by: David Goulet --- 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; };