mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
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:
parent
e194282943
commit
771a67330f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242593
@ -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 { \
|
||||
|
Loading…
Reference in New Issue
Block a user