aboutsummaryrefslogtreecommitdiff
path: root/bin/stty
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-04-30 17:12:49 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-04-30 17:12:49 +0000
commit43175e5e19255612f2b3a1ba868bada979443bd5 (patch)
tree8824eac98fa505fbcd8f6c3146f52ac659c93ba8 /bin/stty
parenteff280b35829d631ab5997e05a0c80ce4ad7b734 (diff)
Notes
Diffstat (limited to 'bin/stty')
-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 */