summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/ioctl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/ioctl.cc')
-rw-r--r--winsup/cygwin/ioctl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/ioctl.cc b/winsup/cygwin/ioctl.cc
index 77f075eb1..51022ee55 100644
--- a/winsup/cygwin/ioctl.cc
+++ b/winsup/cygwin/ioctl.cc
@@ -19,14 +19,14 @@ extern "C"
int
ioctl (int fd, int cmd, void *buf)
{
- if (dtable.not_open (fd))
+ if (fdtab.not_open (fd))
{
set_errno (EBADF);
return -1;
}
debug_printf ("fd %d, cmd %x\n", fd, cmd);
- fhandler_base *fh = dtable[fd];
+ fhandler_base *fh = fdtab[fd];
if (fh->is_tty () && fh->get_device () != FH_PTYM)
switch (cmd)
{