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