diff options
author | Jim Meyering <jim@meyering.net> | 1999-03-07 04:54:36 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-03-07 04:54:36 +0000 |
commit | 8a8a4eeab0aa404c118857fa2e0e91c0ab79eae0 (patch) | |
tree | cabff25508bdeccb0713efab961c0ebca9f2e49e | |
parent | 075ce6b4797c725a6b53167af44dce22f09cf10d (diff) | |
download | coreutils-8a8a4eeab0aa404c118857fa2e0e91c0ab79eae0.tar.xz |
(batch_convert): Use a `%s' format in error call,
in case the argument string contains a `%'.
-rw-r--r-- | src/date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c index b38c5f036..bbba8fa49 100644 --- 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); |