projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
075ce6b
)
(batch_convert): Use a `%s' format in error call,
author
Jim Meyering
<jim@meyering.net>
Sun, 7 Mar 1999 04:54:36 +0000
(
04:54
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 7 Mar 1999 04:54:36 +0000
(
04:54
+0000)
in case the argument string contains a `%'.
src/date.c
patch
|
blob
|
history
diff --git
a/src/date.c
b/src/date.c
index b38c5f036558e3c2bdcb14648c6617fac7065e06..bbba8fa4941f405555e6b5bd05fe9469d38e2dba 100644
(file)
--- a/
src/date.c
+++ b/
src/date.c
@@
-251,7
+251,7
@@
batch_convert (const char *input_filename, const char *format)
free (initial_TZ);
if (fclose (in_stream) == EOF)
- error (2, errno, input_filename);
+ error (2, errno,
"`%s'",
input_filename);
if (line != NULL)
free (line);