aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-12-28 20:44:11 +0000
committerRoland McGrath <roland@gnu.org>2000-12-28 20:44:11 +0000
commitf75ff470b75e4c74b9d500b9fb3b3acc5fd6bdc6 (patch)
tree2b58ee5bb32a68a172163cfefac20c11c9f5042c /sysdeps/mach
parente9ffd39f8c04e9e0300baef5f5c0eb1a46a2050a (diff)
downloadglibc-f75ff470b75e4c74b9d500b9fb3b3acc5fd6bdc6.zip
glibc-f75ff470b75e4c74b9d500b9fb3b3acc5fd6bdc6.tar.gz
glibc-f75ff470b75e4c74b9d500b9fb3b3acc5fd6bdc6.tar.bz2
2000-12-28 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after __mempcpy does it for us.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/ioctl.c b/sysdeps/mach/hurd/ioctl.c
index 12b21d3..5c6138f 100644
--- a/sysdeps/mach/hurd/ioctl.c
+++ b/sysdeps/mach/hurd/ioctl.c
@@ -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;