projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9fe007
)
Improve warning message, when there are too few format specifiers.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 24 Nov 2008 13:00:52 +0000
(13:00 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 24 Nov 2008 13:00:52 +0000
(13:00 +0000)
[r23932]
format_check.c
patch
|
blob
|
history
diff --git
a/format_check.c
b/format_check.c
index
8b9bc63
..
d19ba2b
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-581,7
+581,7
@@
next_arg:
++num_args;
arg = arg->next;
}
- warningf(pos, "%u argument%s but only %u format s
tring
%s",
+ warningf(pos, "%u argument%s but only %u format s
pecifier
%s",
num_args, num_args != 1 ? "s" : "",
num_fmt, num_fmt != 1 ? "s" : "");
}