sink.utils.dummy: append error cause when call to bt_message_iterator_next()` fails
[babeltrace.git] / src / lib / assert-cond.c
index fff351822cca241ba54b4a653ac19901ea28a597..b07bedd0c0267540441f4e4f4f2232942eebf026 100644 (file)
@@ -11,7 +11,7 @@
 #include <stdarg.h>
 #include <glib.h>
 #include "common/assert.h"
-#include "common/macros.h"
+#include "common/common.h"
 #include "assert-cond-base.h"
 
 static
@@ -69,7 +69,7 @@ void bt_lib_assert_cond_failed(const char *cond_type, const char *func,
        BT_ASSERT_COND_MSG("------------------------------------------------------------------------");
        BT_ASSERT_COND_MSG("Error is:");
        va_start(args, fmt);
-       bt_lib_log_v(_BT_LOG_SRCLOC_FUNCTION, __FILE__, __LINE__, BT_LOG_FATAL,
+       bt_lib_log_v(__FILE__, __func__, __LINE__, BT_LOG_FATAL,
                BT_LOG_TAG, fmt, &args);
        va_end(args);
        BT_ASSERT_COND_MSG("Aborting...");
This page took 0.029317 seconds and 4 git commands to generate.