From: Christoph Mallon Date: Sat, 29 Nov 2008 09:58:53 +0000 (+0000) Subject: Improve warning message, when there are too few format specifiers. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=393130d700e4861131c8ca755f1e94adc4c19f68;p=cparser Improve warning message, when there are too few format specifiers. [r24137] --- diff --git a/format_check.c b/format_check.c index f47cc67..5990248 100644 --- a/format_check.c +++ b/format_check.c @@ -910,7 +910,7 @@ next_arg: ++num_args; arg = arg->next; } - warningf(pos, "%u argument%s but only %u format string%s", + warningf(pos, "%u argument%s but only %u format specifier%s", num_args, num_args != 1 ? "s" : "", num_fmt, num_fmt != 1 ? "s" : ""); }