From 43175e5e19255612f2b3a1ba868bada979443bd5 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 30 Apr 2000 17:12:49 +0000 Subject: [PATCH] Fix warn format Pointed-by: bde --- bin/stty/stty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stty/stty.c b/bin/stty/stty.c index 3b591313465..7a83c4f251b 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 */