1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Don't use function name as format string.

Detected by:	clang
MFC after:	1 week
This commit is contained in:
Pawel Jakub Dawidek 2011-12-18 20:40:19 +00:00
parent e0a4047562
commit b6afd24f2b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228695

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, \
__func__); \
"%s", __func__); \
} \
} while (0)
#define PJDLOG_RVERIFY(expr, ...) do { \