X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-clock.c;h=5c33de0c477d5b46a77c25a6a19f27d7b346d9b2;hb=fb31eb73d8a4a6d9784ed5c335b7fa3b9684108c;hp=b24ff37ca5496651d5b9ee1c8004581b8b807309;hpb=3fbec7dc3645facd9e809cf161ba3435a377ce56;p=lttng-ust.git diff --git a/liblttng-ust/lttng-clock.c b/liblttng-ust/lttng-clock.c index b24ff37c..5c33de0c 100644 --- a/liblttng-ust/lttng-clock.c +++ b/liblttng-ust/lttng-clock.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -102,7 +103,7 @@ void lttng_ust_clock_init(void) if (clock_handle) return; - libname = lttng_secure_getenv("LTTNG_UST_CLOCK_PLUGIN"); + libname = lttng_getenv("LTTNG_UST_CLOCK_PLUGIN"); if (!libname) return; clock_handle = dlopen(libname, RTLD_NOW);