about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/setuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/setuid.c')
-rw-r--r--sysdeps/mach/hurd/setuid.c2
1 files changed, 1 insertions, 1 deletions
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
 	{