summaryrefslogtreecommitdiffstats
path: root/bin/cat/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cat/cat.c')
-rw-r--r--bin/cat/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cat/cat.c b/bin/cat/cat.c
index 8b75a82..69c56c0 100644
--- a/bin/cat/cat.c
+++ b/bin/cat/cat.c
@@ -260,7 +260,7 @@ raw_cat(int rfd)
wfd = fileno(stdout);
if (buf == NULL) {
if (fstat(wfd, &sbuf))
- err(1, "%s", filename);
+ err(1, "stdout");
if (S_ISREG(sbuf.st_mode)) {
/* If there's plenty of RAM, use a large copy buffer */
if (sysconf(_SC_PHYS_PAGES) > PHYSPAGES_THRESHOLD)
OpenPOWER on IntegriCloud