Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I83cc40a123539a668c25828144905b628df9fdef
char name[NAME_MAX];
bool has_auto_generated_name;
bool name_contains_creation_time;
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;
/* Path of the last closed chunk. */
char last_chunk_path[LTTNG_PATH_MAX];
time_t creation_time;
{
int ret;
char *path = NULL;
{
int ret;
char *path = NULL;
- char hostname[HOST_NAME_MAX];
+ char hostname[LTTNG_HOST_NAME_MAX];
ret = gethostname(hostname, sizeof(hostname));
if (ret < 0) {
ret = gethostname(hostname, sizeof(hostname));
if (ret < 0) {