Port: Use LTTNG_NAME_MAX instead of NAME_MAX
[lttng-tools.git] / src / bin / lttng-relayd / session.h
index 1a37cfee2069800be941eeb4f875354270c1ecdc..de1e44f0d7fd36410349a7c1f1ecbcac8bc3c76b 100644 (file)
@@ -26,6 +26,7 @@
 #include <urcu/list.h>
 #include <urcu/ref.h>
 
+#include <lttng/constant.h>
 #include <common/hashtable/hashtable.h>
 
 /*
@@ -38,7 +39,7 @@ struct relay_session {
         * It is used to match a set of streams to their session.
         */
        uint64_t id;
-       char session_name[NAME_MAX];
+       char session_name[LTTNG_NAME_MAX];
        char hostname[HOST_NAME_MAX];
        uint32_t live_timer;
 
This page took 0.025389 seconds and 5 git commands to generate.