diff options
author | pjd <pjd@FreeBSD.org> | 2012-11-05 00:38:14 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2012-11-05 00:38:14 +0000 |
commit | 712fa475acb802cc12bddf7fe3eafbf15203f1cc (patch) | |
tree | b8a4f82bd3ea82cb701d73eec8c3e962963ce812 /sbin/hastd | |
parent | d793145a726ef848e5e79be78b79e4e0f54cd2cf (diff) | |
download | FreeBSD-src-712fa475acb802cc12bddf7fe3eafbf15203f1cc.zip FreeBSD-src-712fa475acb802cc12bddf7fe3eafbf15203f1cc.tar.gz |
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.
Diffstat (limited to 'sbin/hastd')
-rw-r--r-- | sbin/hastd/pjdlog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/pjdlog.h b/sbin/hastd/pjdlog.h index bae431e..0f01f79 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 { \ |