From e3b4f3891192f5db5afca5b62ae6e84d982aa03f Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 14 Jun 2020 17:07:27 +0200 Subject: [PATCH] src/libpspp/message.h (msg_error): Add printf_format attribute --- src/libpspp/message.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libpspp/message.h b/src/libpspp/message.h index 720b9f23d7..64a5b29733 100644 --- a/src/libpspp/message.h +++ b/src/libpspp/message.h @@ -100,7 +100,8 @@ void msg (enum msg_class, const char *format, ...) PRINTF_FORMAT (2, 3); void msg_emit (struct msg *); -void msg_error (int errnum, const char *format, ...); +void msg_error (int errnum, const char *format, ...) + PRINTF_FORMAT (2, 3); /* Enable and disable messages. */ -- 2.30.2