X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.h;h=9b790c1fe94df7911db72b2f9674eee7a089b138;hp=e6ed40cc2927f624ce3255492a91e129edcb5a8c;hb=242388e491e4219f967ee424d7bf02035a313e6f;hpb=d7b377ed1acd4043bde353d99122e0e56fa4e975 diff --git a/src/bin/lttng-sessiond/session.h b/src/bin/lttng-sessiond/session.h index e6ed40cc2..9b790c1fe 100644 --- a/src/bin/lttng-sessiond/session.h +++ b/src/bin/lttng-sessiond/session.h @@ -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;