Fixed calls to ioctl; sizes of structs are different in ACK

This commit is contained in:
ceriel 1991-09-25 15:35:57 +00:00
parent 157236bdb0
commit 52a38e47ca
3 changed files with 3 additions and 3 deletions

View file

@ -4,5 +4,5 @@ _gtty(fildes,argp)
int fildes ;
struct sgttyb *argp ;
{
return _ioctl(fildes,TIOCGETP,argp) ;
return _ioctl(fildes,0x40067408,argp) ;
}

View file

@ -4,5 +4,5 @@ gtty(fildes,argp)
int fildes ;
struct sgttyb *argp ;
{
return ioctl(fildes,TIOCGETP,argp) ;
return ioctl(fildes,0x40067408,argp) ;
}

View file

@ -3,5 +3,5 @@ int stty(fildes,argp)
int fildes ;
struct sgttyb *argp ;
{
return ioctl(fildes,TIOCSETP,argp) ;
return ioctl(fildes,0x80067409,argp) ;
}