X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fsession.h;h=4e515ad7703bc03b3bb5530118063f29ac7051f5;hp=e0594d2e82e452bf072d90899b945b2afc31be3c;hb=36d2e35df61339e4394e84ad9790b984d259e0f0;hpb=b1325effaf300e21bb804113cc202b0e42ea61da diff --git a/include/lttng/session.h b/include/lttng/session.h index e0594d2e8..4e515ad77 100644 --- a/include/lttng/session.h +++ b/include/lttng/session.h @@ -32,7 +32,7 @@ extern "C" { */ #define LTTNG_SESSION_PADDING1 12 struct lttng_session { - char name[NAME_MAX]; + char name[LTTNG_NAME_MAX]; /* The path where traces are written */ char path[PATH_MAX]; uint32_t enabled; /* enabled/started: 1, disabled/stopped: 0 */