mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(tsort): Use "%s" as the format string, rather than a diagnostic or a file name.
This commit is contained in:
1 parent
0510017888
commit
aa3d627011
1 file changed
+2
-2
+2
-2
@@ -523,8 +523,8 @@ tsort (const char *file)
|
||||
}
|
||||
|
||||
if (fclose (stdin) != 0)
|
||||
error (EXIT_FAILURE, errno,
|
||||
is_stdin ? _("standard input") : file);
|
||||
error (EXIT_FAILURE, errno, "%s",
|
||||
is_stdin ? _("standard input") : quote (file));
|
||||
|
||||
return ok;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user