From 771a67330f6ca74e8f1910f21935cd0a77102e19 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Mon, 5 Nov 2012 00:38:14 +0000 Subject: [PATCH] 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. --- sbin/hastd/pjdlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/hastd/pjdlog.h b/sbin/hastd/pjdlog.h index bae431e35cae..0f01f798bffe 100644 --- a/sbin/hastd/pjdlog.h +++ b/sbin/hastd/pjdlog.h @@ -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 { \