Port: Use LTTNG_NAME_MAX instead of NAME_MAX
[lttng-tools.git] / src / lib / lttng-ctl / save.c
index 8f8cbb639ae7c7874857d2fb977d69c12af6a03b..d2a7e67c55a14b75719ada6355b970039f292f9c 100644 (file)
@@ -83,7 +83,7 @@ int lttng_save_session_attr_set_session_name(
                size_t len;
 
                len = strlen(session_name);
-               if (len >= NAME_MAX) {
+               if (len >= LTTNG_NAME_MAX) {
                        ret = -LTTNG_ERR_INVALID;
                        goto error;
                }
This page took 0.033104 seconds and 5 git commands to generate.