summaryrefslogtreecommitdiffstats
path: root/bin/stty
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-04-30 17:12:49 +0000
committerache <ache@FreeBSD.org>2000-04-30 17:12:49 +0000
commit718d9c4df2cd3cbd6ba4bc22ebeaa64950ea7ab9 (patch)
tree16a163da3acf7f6a8bb3aa6b17a734d5b3732168 /bin/stty
parentd086bc976394ea89c5954f20e0a3498dd05752b5 (diff)
downloadFreeBSD-src-718d9c4df2cd3cbd6ba4bc22ebeaa64950ea7ab9.zip
FreeBSD-src-718d9c4df2cd3cbd6ba4bc22ebeaa64950ea7ab9.tar.gz
Fix warn format
Pointed-by: bde
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 3b59131..7a83c4f 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 */
OpenPOWER on IntegriCloud