diff options
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/setgid.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/setuid.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/setgid.c b/sysdeps/mach/hurd/setgid.c index 660a3fe5d0..b2d9313307 100644 --- a/sysdeps/mach/hurd/setgid.c +++ b/sysdeps/mach/hurd/setgid.c @@ -66,7 +66,7 @@ DEFUN(__setgid, (gid), gid_t gid) newaux = auxbuf; naux = 2; } - _hurd_id.aux.gids[0] = _hurd_id.aux.gids[1] = gid; + newaux[0] = newaux[1] = gid; } else { diff --git a/sysdeps/mach/hurd/setuid.c b/sysdeps/mach/hurd/setuid.c index 586ad2154f..c2491d6d13 100644 --- a/sysdeps/mach/hurd/setuid.c +++ b/sysdeps/mach/hurd/setuid.c @@ -66,7 +66,7 @@ DEFUN(__setuid, (uid), uid_t uid) newaux = auxbuf; naux = 2; } - _hurd_id.aux.uids[0] = _hurd_id.aux.uids[1] = uid; + newaux[0] = newaux[1] = uid; } else { |