Revert r228695. We use __func__ here as a format to distinguish between

abort and assert. It would be cleaner to use NULL or "" here, but gcc
complains in both cases.
This commit is contained in:
Pawel Jakub Dawidek 2012-11-05 00:38:14 +00:00
parent e194282943
commit 771a67330f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242593

View File

@ -95,7 +95,7 @@ void pjdlog_abort(const char *func, const char *file, int line,
#define PJDLOG_VERIFY(expr) do { \
if (!(expr)) { \
pjdlog_abort(__func__, __FILE__, __LINE__, #expr, \
"%s", __func__); \
__func__); \
} \
} while (0)
#define PJDLOG_RVERIFY(expr, ...) do { \