Skip to content

Commit

Permalink
2000-12-28 Roland McGrath <roland@frob.com>
Browse files Browse the repository at this point in the history
	* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
	__mempcpy does it for us.
  • Loading branch information
Roland McGrath committed Dec 28, 2000
1 parent e9ffd39 commit f75ff47
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sysdeps/mach/hurd/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f75ff47

Please sign in to comment.