Port: Replace NAME_MAX by MAXNAMLEN
[babeltrace.git] / formats / lttng-live / lttng-live.h
index c4641df7c62bc934896ea3ac0d81d49ca8bc5d92..4ab641d59609dceb6d53d2a9cfa4f12f9835d467 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.023485 seconds and 4 git commands to generate.