(tsort): Use "%s" as the format string, rather than a diagnostic or a file name.

This commit is contained in:
Jim Meyering committed 2005-04-12 06:47:44 +00:00
1 parent 0510017888
commit aa3d627011
1 file changed
+2 -2
+2 -2
View File
@@ -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;
}