Fix: race between lttng-ust getenv() and application setenv()
[lttng-ust.git] / liblttng-ust / lttng-getcpu.c
index 7b608ef94aa43f247433969c87050058a9021419..7cc9faa8c40f9af8cd38353ff62df44eaa1421a6 100644 (file)
@@ -47,7 +47,7 @@ void lttng_ust_getcpu_init(void)
 
        if (getcpu_handle)
                return;
-       libname = lttng_secure_getenv("LTTNG_UST_GETCPU_PLUGIN");
+       libname = lttng_getenv("LTTNG_UST_GETCPU_PLUGIN");
        if (!libname)
                return;
        getcpu_handle = dlopen(libname, RTLD_NOW);
This page took 0.025125 seconds and 4 git commands to generate.