X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fctf-writer%2Fassert-pre.h;h=38e3ac2c98644e96d875ed0efab7b728cf97eb53;hb=71436ae48cd2fcfcc59ae9a7da909e29a191145c;hp=3d41037c6a6640a41a3b229c1516658726d9d318;hpb=78c888d139a40b58b10a2c92829cbb2c814ad766;p=babeltrace.git diff --git a/src/ctf-writer/assert-pre.h b/src/ctf-writer/assert-pre.h index 3d41037c..38e3ac2c 100644 --- a/src/ctf-writer/assert-pre.h +++ b/src/ctf-writer/assert-pre.h @@ -58,7 +58,7 @@ */ # define BT_CTF_ASSERT_PRE_MSG(_fmt, ...) \ do { \ - _bt_log_write_d(_BT_LOG_SRCLOC_FUNCTION, __FILE__, \ + bt_log_write_printf(__FILE__, __func__, \ __LINE__, BT_LOG_FATAL, BT_LOG_TAG, (_fmt), \ ##__VA_ARGS__); \ } while (0)