X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.h;h=e052d6d337e10ee69490df9df9181962bd01b248;hp=de98bde514f4e62d56984faa455d7905f1dd3325;hb=0475c50c4d3d2cea973fe4d1f17875d231dea96c;hpb=d3e2ba59faddb31870e2ce29b6a881f7ad5ad883 diff --git a/src/bin/lttng-sessiond/session.h b/src/bin/lttng-sessiond/session.h index de98bde51..e052d6d33 100644 --- a/src/bin/lttng-sessiond/session.h +++ b/src/bin/lttng-sessiond/session.h @@ -18,6 +18,7 @@ #ifndef _LTT_SESSION_H #define _LTT_SESSION_H +#include #include #include @@ -59,8 +60,7 @@ struct ltt_session_list { */ struct ltt_session { char name[NAME_MAX]; - /* FIXME : size */ - char hostname[PATH_MAX]; /* local hostname, FIXME : could be useful to have that user defined too */ + char hostname[HOST_NAME_MAX]; /* Local hostname. */ struct ltt_kernel_session *kernel_session; struct ltt_ust_session *ust_session; /*