aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/setgid.c2
-rw-r--r--sysdeps/mach/hurd/setuid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/setgid.c b/sysdeps/mach/hurd/setgid.c
index 660a3fe..b2d9313 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 586ad21..c2491d6 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
{