port: no HOST_NAME_MAX on FreeBSD, use LTTNG_HOST_NAME_MAX
[lttng-tools.git] / src / bin / lttng-sessiond / session.h
index e6ed40cc2927f624ce3255492a91e129edcb5a8c..9b790c1fe94df7911db72b2f9674eee7a089b138 100644 (file)
@@ -68,7 +68,7 @@ struct ltt_session {
        char name[NAME_MAX];
        bool has_auto_generated_name;
        bool name_contains_creation_time;
-       char hostname[HOST_NAME_MAX]; /* Local hostname. */
+       char hostname[LTTNG_HOST_NAME_MAX]; /* Local hostname. */
        /* Path of the last closed chunk. */
        char last_chunk_path[LTTNG_PATH_MAX];
        time_t creation_time;
This page took 0.023498 seconds and 4 git commands to generate.