Fixed calls to ioctl; sizes of structs are different in ACK
This commit is contained in:
parent
b4a2483da7
commit
ed2cc4c19b
@ -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…
x
Reference in New Issue
Block a user