Rename hinfo -> dtable. Name the former dtable array 'fdtab'.
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user