summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/stty/stty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stty/stty.c b/bin/stty/stty.c
index 3b5913134656..7a83c4f251b8 100644
--- a/bin/stty/stty.c
+++ b/bin/stty/stty.c
@@ -102,7 +102,7 @@ args: argc -= optind;
if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0)
err(1, "TIOCGETD");
if (ioctl(i.fd, TIOCGWINSZ, &i.win) < 0)
- warn("TIOCGWINSZ: %s\n", strerror(errno));
+ warn("TIOCGWINSZ");
checkredirect(); /* conversion aid */