lib: rename `BABELTRACE_NO_DLCLOSE` -> `LIBBABELTRACE2_NO_DLCLOSE`
[babeltrace.git] / src / lib / plugin / plugin-so.c
index 42b1df6ce4c8de1bb157d6f002364867d8e61725..43055ac3ec452ad5398357d0d38627a80f3a6c4c 100644 (file)
@@ -142,10 +142,10 @@ void bt_plugin_so_shared_lib_handle_destroy(struct bt_object *obj)
                /*
                 * Valgrind shows incomplete stack traces when
                 * dynamically loaded libraries are closed before it
-                * finishes. Use the BABELTRACE_NO_DLCLOSE in a debug
+                * finishes. Use the LIBBABELTRACE2_NO_DLCLOSE in a debug
                 * build to avoid this.
                 */
-               const char *var = getenv("BABELTRACE_NO_DLCLOSE");
+               const char *var = getenv("LIBBABELTRACE2_NO_DLCLOSE");
 
                if (!var || strcmp(var, "1") != 0) {
 #endif
@@ -159,7 +159,7 @@ void bt_plugin_so_shared_lib_handle_destroy(struct bt_object *obj)
                        shared_lib_handle->module = NULL;
 #ifndef BT_DEBUG_MODE
                } else {
-                       BT_LOGI("Not closing GModule because `BABELTRACE_NO_DLCLOSE=1`: "
+                       BT_LOGI("Not closing GModule because `LIBBABELTRACE2_NO_DLCLOSE=1`: "
                                "path=\"%s\"", path);
                }
 #endif
This page took 0.024891 seconds and 4 git commands to generate.