X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fassert-cond.c;h=b995920074c12513191801027142c1e56e538060;hb=71436ae48cd2fcfcc59ae9a7da909e29a191145c;hp=fff351822cca241ba54b4a653ac19901ea28a597;hpb=78c888d139a40b58b10a2c92829cbb2c814ad766;p=babeltrace.git diff --git a/src/lib/assert-cond.c b/src/lib/assert-cond.c index fff35182..b9959200 100644 --- a/src/lib/assert-cond.c +++ b/src/lib/assert-cond.c @@ -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...");