summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-11 10:38:39 +0000
committerJim Meyering <jim@meyering.net>2003-07-11 10:38:39 +0000
commit208b8da666a763b70b4ab3a9fe29ea81bced8d72 (patch)
treee6ccea1d1c3008aea1766f62d5a355cc2bf16f77 /src
parent7c6b61d57d072dd6c221fec728430e1d15193a7d (diff)
downloadcoreutils-208b8da666a763b70b4ab3a9fe29ea81bced8d72.tar.xz
(batch_convert): Use the quote function rather than using literal `...' in
a diagnostic.
Diffstat (limited to 'src')
-rw-r--r--src/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c
index d92f646ec..10e91914c 100644
--- a/src/date.c
+++ b/src/date.c
@@ -276,7 +276,7 @@ batch_convert (const char *input_filename, const char *format)
}
if (fclose (in_stream) == EOF)
- error (2, errno, "`%s'", input_filename);
+ error (2, errno, "%s", quote (input_filename));
if (line != NULL)
free (line);