Improve warning message, when there are too few format specifiers.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 29 Nov 2008 09:58:53 +0000 (09:58 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 29 Nov 2008 09:58:53 +0000 (09:58 +0000)
[r24137]

format_check.c

index f47cc67..5990248 100644 (file)
@@ -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" : "");
        }