.gitignore: add missing `/tests/param-validation/test_param_validation`
[babeltrace.git] / src / lib / lib-logging.c
index ee11fad0ce5b0b682a0837f2acaf8dadf3b0c306..c648e336c9c3fc4abb5a90cb83c40b8e46326042 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <inttypes.h>
+#include <stdbool.h>
 #include <stdint.h>
 #include <wchar.h>
 #include <glib.h>
@@ -1521,7 +1522,8 @@ void bt_lib_maybe_log_and_append_cause(const char *func, const char *file,
        }
 
        status = bt_current_thread_error_append_cause_from_unknown(
-               "Babeltrace library", file, line, "%s", lib_logging_buf);
+               BT_LIB_LOG_LIBBABELTRACE2_NAME, file, line, "%s",
+               lib_logging_buf);
        if (status) {
                /*
                 * Worst case: this error cause is not appended to the
This page took 0.02522 seconds and 4 git commands to generate.