mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(batch_convert): Use a `%s' format in error call,
in case the argument string contains a `%'.
This commit is contained in:
1 parent
075ce6b479
commit
8a8a4eeab0
1 file changed
+1
-1
+1
-1
@@ -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