Port: Replace NAME_MAX by MAXNAMLEN
[babeltrace.git] / formats / lttng-live / lttng-live.h
index f06d65d5803ee39f16cc3d17d242aac857b5e2a1..553cd34d5c1eb1a721f4761e58bca1083356e19d 100644 (file)
@@ -33,9 +33,9 @@
 #define LTTNG_LIVE_MINOR                       4
 
 struct lttng_live_ctx {
-       char traced_hostname[NAME_MAX];
-       char session_name[NAME_MAX];
-       char relay_hostname[NAME_MAX];
+       char traced_hostname[MAXNAMLEN];
+       char session_name[MAXNAMLEN];
+       char relay_hostname[MAXNAMLEN];
        int control_sock;
        int port;
        /* Protocol version to use for this connection. */
This page took 0.022714 seconds and 4 git commands to generate.