diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1999-04-26 01:34:05 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1999-04-26 01:34:05 +0000 |
commit | 1013e9c7bf74d563c9423903205015a2519b1cf4 (patch) | |
tree | 2fb58a60f3de9dd541f250163ce8f2d55eb19f76 | |
parent | 82afda051ae84732caccdddad885316b82dfecde (diff) |
s/STDIN_FILENO/STDOUT_FILENO/ to match top distribution code, rohee@essi.fr.
-rw-r--r-- | usr.bin/top/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/screen.c b/usr.bin/top/screen.c index 60024314263..fd297a8746a 100644 --- a/usr.bin/top/screen.c +++ b/usr.bin/top/screen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen.c,v 1.5 1997/12/02 17:56:30 bitblt Exp $ */ +/* $OpenBSD: screen.c,v 1.6 1999/04/26 01:34:04 downsj Exp $ */ /* * Top users/processes display for Unix @@ -258,7 +258,7 @@ void get_screensize() { struct winsize ws; - if (ioctl (STDIN_FILENO, TIOCGWINSZ, &ws) != -1) + if (ioctl (STDOUT_FILENO, TIOCGWINSZ, &ws) != -1) { if (ws.ws_row != 0) { |