X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Futils.c;h=fda43152d30905fc278515277f79a11eb0104282;hb=d238c88d41dc79062091c0f84b1023e068c196e0;hp=664ba3e8e82abbdcf3a0c15614ba9b5858fbea93;hpb=cc871152d000c06fa7a7e6e75559f1147bf72e70;p=lttng-tools.git diff --git a/src/common/utils.c b/src/common/utils.c index 664ba3e8e..fda43152d 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -1197,7 +1197,7 @@ int utils_get_count_order_u64(uint64_t x) * Otherwise returns the value of HOME. */ LTTNG_HIDDEN -char *utils_get_home_dir(void) +const char *utils_get_home_dir(void) { char *val = NULL; struct passwd *pwd;