projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdcfd99
)
Say '\0' instead of NUL in warning messages.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 29 Nov 2008 09:57:37 +0000
(09:57 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 29 Nov 2008 09:57:37 +0000
(09:57 +0000)
[r24136]
format_check.c
patch
|
blob
|
history
diff --git
a/format_check.c
b/format_check.c
index
aedea18
..
f47cc67
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-580,7
+580,7
@@
next_arg:
arg = arg->next;
}
if (!atend(&vchar)) {
- warningf(pos, "format string contains
NUL
");
+ warningf(pos, "format string contains
'\\0'
");
}
if (arg != NULL) {
unsigned num_args = num_fmt;
@@
-902,7
+902,7
@@
next_arg:
arg = arg->next;
}
if (!atend(&vchar)) {
- warningf(pos, "format string contains
NUL
");
+ warningf(pos, "format string contains
'\\0'
");
}
if (arg != NULL) {
unsigned num_args = num_fmt;