From aa3d627011002fd7c1638517b5ddc4cd252cb42a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 12 Apr 2005 06:47:44 +0000 Subject: (tsort): Use "%s" as the format string, rather than a diagnostic or a file name. --- src/tsort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tsort.c b/src/tsort.c index d5209cf5a..11bd6ce76 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -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; } -- cgit v1.2.3-54-g00ecf