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=32aef76c03b38dfb5f423299357c478147358af4;hpb=983a481e7516ab54b3697a28aa16a81f51573152 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;