Fix: add missing getenv wrapper
[lttng-ust.git] / liblttng-ust / lttng-getcpu.c
index 8f4c0fe7eeb6ba92c236bd2715709348c7ec45d8..3e675a5a1f422c376499065a035849084ffca4b1 100644 (file)
@@ -25,6 +25,7 @@
 #include <urcu/system.h>
 #include <urcu/arch.h>
 
+#include "getenv.h"
 #include "../libringbuffer/getcpu.h"
 
 int (*lttng_get_cpu)(void);
@@ -41,7 +42,7 @@ void lttng_ust_getcpu_init(void)
        void *handle;
        void (*libinit)(void);
 
-       libname = secure_getenv("LTTNG_UST_GETCPU_PLUGIN");
+       libname = lttng_secure_getenv("LTTNG_UST_GETCPU_PLUGIN");
        if (!libname)
                return;
        handle = dlopen(libname, RTLD_NOW);
This page took 0.024155 seconds and 4 git commands to generate.