mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
hurd TIOCFLUSH: fix fixing argument
The argument actually used inside send_rpc is argptr, not arg.
This commit is contained in:
parent
6c57d32048
commit
fd4405747c
@ -115,8 +115,8 @@ __ioctl (int fd, unsigned long int request, ...)
|
||||
void *argptr = arg;
|
||||
int zero = 0;
|
||||
|
||||
if (request == TIOCFLUSH && !arg)
|
||||
arg = &zero;
|
||||
if (request == TIOCFLUSH && !argptr)
|
||||
argptr = &zero;
|
||||
|
||||
/* Pack an argument into the message buffer. */
|
||||
void in (unsigned int count, enum __ioctl_datum type)
|
||||
|
Loading…
Reference in New Issue
Block a user