From: Jim Meyering Date: Sun, 25 Feb 1996 05:31:26 +0000 (+0000) Subject: (batch_convert): Put `' around filename in error in case it's empty. X-Git-Tag: FILEUTILS-3_12j~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f37efd8b2a347ae65138220552904d396cc5e7d;p=thirdparty%2Fcoreutils.git (batch_convert): Put `' around filename in error in case it's empty. --- diff --git a/src/date.c b/src/date.c index 5741c65065..744900e777 100644 --- a/src/date.c +++ b/src/date.c @@ -103,7 +103,7 @@ batch_convert (const char *input_filename, const char *format) in_stream = fopen (input_filename, "r"); if (in_stream == NULL) { - error (0, errno, "%s", input_filename); + error (1, errno, "`%s'", input_filename); } }