From 266c95470005fc0fdb22b984de4bb8ec73aec727 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 6 Apr 2011 15:27:58 -0700 Subject: [PATCH] * term.c (maybe_fatal): Mark its 3rd arg as a printf format, too. --- src/ChangeLog | 2 ++ src/term.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 69ab6d0ef3a..8c92869db1f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-06 Paul Eggert + * term.c (maybe_fatal): Mark its 3rd arg as a printf format, too. + * xdisp.c, lisp.h (message_nolog): Remove; unused. 2011-04-06 Eli Zaretskii diff --git a/src/term.c b/src/term.c index 39c9592e28f..d4e5faf01c8 100644 --- a/src/term.c +++ b/src/term.c @@ -86,7 +86,7 @@ static void dissociate_if_controlling_tty (int fd); static void delete_tty (struct terminal *); static void maybe_fatal (int must_succeed, struct terminal *terminal, const char *str1, const char *str2, ...) - NO_RETURN ATTRIBUTE_FORMAT_PRINTF (4, 5); + NO_RETURN ATTRIBUTE_FORMAT_PRINTF (3, 5) ATTRIBUTE_FORMAT_PRINTF (4, 5); static void vfatal (const char *str, va_list ap) NO_RETURN ATTRIBUTE_FORMAT_PRINTF (1, 0); -- 2.39.2