2000-12-28 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after __mempcpy does it for us.
This commit is contained in:
parent
e9ffd39f8c
commit
f75ff470b7
@ -97,7 +97,6 @@ __ioctl (int fd, unsigned long int request, ...)
|
||||
*t = io2mach_type (count, type);
|
||||
p = __mempcpy (p, argptr, len);
|
||||
argptr += len;
|
||||
p += len;
|
||||
p = (void *) (((uintptr_t) p + sizeof (*t) - 1)
|
||||
& ~(sizeof (*t) - 1));
|
||||
t = p;
|
||||
|
Loading…
Reference in New Issue
Block a user