Fixed calls to ioctl; sizes of structs are different in ACK
This commit is contained in:
parent
157236bdb0
commit
52a38e47ca
|
@ -4,5 +4,5 @@ _gtty(fildes,argp)
|
|||
int fildes ;
|
||||
struct sgttyb *argp ;
|
||||
{
|
||||
return _ioctl(fildes,TIOCGETP,argp) ;
|
||||
return _ioctl(fildes,0x40067408,argp) ;
|
||||
}
|
||||
|
|
|
@ -4,5 +4,5 @@ gtty(fildes,argp)
|
|||
int fildes ;
|
||||
struct sgttyb *argp ;
|
||||
{
|
||||
return ioctl(fildes,TIOCGETP,argp) ;
|
||||
return ioctl(fildes,0x40067408,argp) ;
|
||||
}
|
||||
|
|
|
@ -3,5 +3,5 @@ int stty(fildes,argp)
|
|||
int fildes ;
|
||||
struct sgttyb *argp ;
|
||||
{
|
||||
return ioctl(fildes,TIOCSETP,argp) ;
|
||||
return ioctl(fildes,0x80067409,argp) ;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue