Author: pjd Date: Sun Dec 18 20:40:19 2011 New Revision: 228695 URL: http://svn.freebsd.org/changeset/base/228695
Log: Don't use function name as format string. Detected by: clang MFC after: 1 week Modified: head/sbin/hastd/pjdlog.h Modified: head/sbin/hastd/pjdlog.h ============================================================================== --- head/sbin/hastd/pjdlog.h Sun Dec 18 17:48:54 2011 (r228694) +++ head/sbin/hastd/pjdlog.h Sun Dec 18 20:40:19 2011 (r228695) @@ -95,7 +95,7 @@ void pjdlog_abort(const char *func, cons #define PJDLOG_VERIFY(expr) do { \ if (!(expr)) { \ pjdlog_abort(__func__, __FILE__, __LINE__, #expr, \ - __func__); \ + "%s", __func__); \ } \ } while (0) #define PJDLOG_RVERIFY(expr, ...) do { \ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"