From 7c6b61d57d072dd6c221fec728430e1d15193a7d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 11 Jul 2003 10:37:21 +0000 Subject: [PATCH] Include "quote.h". Use the quote function rather than using literal `...' in a diagnostic. --- src/date.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/date.c b/src/date.c index 6e18b825fd..d92f646ec2 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)); } } -- 2.47.2