Fix warn format

Pointed-by: bde
This commit is contained in:
Andrey A. Chernov 2000-04-30 17:12:49 +00:00
parent eff280b358
commit 43175e5e19

View file

@ -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 */