diff options
| author | Paul Eggert | 2011-04-06 15:27:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-06 15:27:58 -0700 |
| commit | 266c95470005fc0fdb22b984de4bb8ec73aec727 (patch) | |
| tree | 18ca2f94a4b9de68375f47669223c10c9322494e /src/term.c | |
| parent | 79c49ad25398ba5ef48148758fea6c582147e20e (diff) | |
| download | emacs-266c95470005fc0fdb22b984de4bb8ec73aec727.tar.gz emacs-266c95470005fc0fdb22b984de4bb8ec73aec727.zip | |
* term.c (maybe_fatal): Mark its 3rd arg as a printf format, too.
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); | |||
| 86 | static void delete_tty (struct terminal *); | 86 | static void delete_tty (struct terminal *); |
| 87 | static void maybe_fatal (int must_succeed, struct terminal *terminal, | 87 | static void maybe_fatal (int must_succeed, struct terminal *terminal, |
| 88 | const char *str1, const char *str2, ...) | 88 | const char *str1, const char *str2, ...) |
| 89 | NO_RETURN ATTRIBUTE_FORMAT_PRINTF (4, 5); | 89 | NO_RETURN ATTRIBUTE_FORMAT_PRINTF (3, 5) ATTRIBUTE_FORMAT_PRINTF (4, 5); |
| 90 | static void vfatal (const char *str, va_list ap) | 90 | static void vfatal (const char *str, va_list ap) |
| 91 | NO_RETURN ATTRIBUTE_FORMAT_PRINTF (1, 0); | 91 | NO_RETURN ATTRIBUTE_FORMAT_PRINTF (1, 0); |
| 92 | 92 | ||