diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-11 10:37:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-11 10:37:21 +0000 |
commit | 7c6b61d57d072dd6c221fec728430e1d15193a7d (patch) | |
tree | d0d70dbe53cae310ffa1a196d9c09039abc7a75c | |
parent | 63861fc0122a287beb9c58c3c9a682592f3ba319 (diff) | |
download | coreutils-7c6b61d57d072dd6c221fec728430e1d15193a7d.tar.xz |
Include "quote.h".
Use the quote function rather than using literal `...' in a diagnostic.
-rw-r--r-- | src/date.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c index 6e18b825f..d92f646ec 100644 --- a/src/date.c +++ b/src/date.c @@ -33,6 +33,7 @@ #include "getline.h" #include "posixtm.h" #include "posixver.h" +#include "quote.h" #include "strftime.h" #include "timespec.h" @@ -242,7 +243,7 @@ batch_convert (const char *input_filename, const char *format) in_stream = fopen (input_filename, "r"); if (in_stream == NULL) { - error (EXIT_FAILURE, errno, "`%s'", input_filename); + error (EXIT_FAILURE, errno, "%s", quote (input_filename)); } } |