X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Futils.c;h=fda43152d30905fc278515277f79a11eb0104282;hp=664ba3e8e82abbdcf3a0c15614ba9b5858fbea93;hb=4f00620d66e81d89a546b29a774dad49d38983b3;hpb=c35f9726a22f1d93e14589688d830efccda196f3 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;