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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user