Port: Use LTTNG_NAME_MAX instead of NAME_MAX
[lttng-tools.git] / include / lttng / load-internal.h
index 85f0afa542f194e12494accc50ef4de136ac3a4a..78cf86a2dc314037c9f4a962164a02f59d9de983 100644 (file)
@@ -22,6 +22,7 @@
 #include <limits.h>
 #include <stdint.h>
 
+#include <lttng/constant.h>
 #include <common/macros.h>
 
 /*
@@ -29,7 +30,7 @@
  */
 struct lttng_load_session_attr {
        /* Name of the session to load, empty string means all. */
-       char session_name[NAME_MAX];
+       char session_name[LTTNG_NAME_MAX];
        /* URL of the session configuration file to load. */
        char input_url[PATH_MAX];
        /* Overwrite the session if it exists. */
This page took 0.024202 seconds and 5 git commands to generate.