summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-08 06:09:21 +0000
committerJim Meyering <jim@meyering.net>1996-12-08 06:09:21 +0000
commit2a1d6f9b5f143e1db1602ae164b31e38201b7c41 (patch)
tree2aa4262b84f6b300ab49c5e6079787545ace0f14 /src
parentf2ac53d4ea85e9d98d290bc08eef5b4a3325d8b1 (diff)
downloadcoreutils-2a1d6f9b5f143e1db1602ae164b31e38201b7c41.tar.xz
(get_win_size): Rename formal parameter from fileno to FD.
Diffstat (limited to 'src')
-rw-r--r--src/stty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stty.c b/src/stty.c
index 86a503515..de60ac431 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -1193,9 +1193,9 @@ set_speed (enum speed_setting type, const char *arg, struct termios *mode)
#ifdef TIOCGWINSZ
static int
-get_win_size (int fileno, struct winsize *win)
+get_win_size (int fd, struct winsize *win)
{
- int err = ioctl (fileno, TIOCGWINSZ, (char *) win);
+ int err = ioctl (fd, TIOCGWINSZ, (char *) win);
return err;
}