Fix: race between lttng-ust getenv() and application setenv()
[lttng-ust.git] / liblttng-ust / lttng-getcpu.c
index 751affac3cc29b747571ce786e2548be2d36f553..e4153a7c2b71f39750f2f375f90b015b53f96828 100644 (file)
@@ -46,7 +46,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.022416 seconds and 4 git commands to generate.