1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-10 06:03:31 +02:00

(batch_convert): Use a `%s' format in error call,

in case the argument string contains a `%'.
This commit is contained in:
Jim Meyering
1999-03-07 04:54:36 +00:00
parent 075ce6b479
commit 8a8a4eeab0

View File

@@ -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);