Port: Use LTTNG_NAME_MAX instead of NAME_MAX
[lttng-tools.git] / include / lttng / session.h
index e0594d2e82e452bf072d90899b945b2afc31be3c..4e515ad7703bc03b3bb5530118063f29ac7051f5 100644 (file)
@@ -32,7 +32,7 @@ extern "C" {
  */
 #define LTTNG_SESSION_PADDING1             12
 struct lttng_session {
  */
 #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 */
        /* The path where traces are written */
        char path[PATH_MAX];
        uint32_t enabled;       /* enabled/started: 1, disabled/stopped: 0 */
This page took 0.023905 seconds and 5 git commands to generate.