(__setgid): Switch the port-type and port-count parameters to __auth_makeauth.
authorMiles Bader <miles@gnu.org>
Wed, 9 Aug 1995 18:28:56 +0000 (18:28 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 9 Aug 1995 18:28:56 +0000 (18:28 +0000)
sysdeps/mach/hurd/setgid.c

index 726b413..933792b 100644 (file)
@@ -54,7 +54,7 @@ DEFUN(__setgid, (gid), gid_t gid)
              (_hurd_id.aux.ngids - 1) * sizeof (gid_t));
 
       err = __USEPORT (AUTH, __auth_makeauth
-                      (port, NULL, 0, MACH_MSG_TYPE_COPY_SEND,
+                      (port, NULL, MACH_MSG_TYPE_COPY_SEND, 0,
                        _hurd_id.gen.uids, _hurd_id.gen.nuids,
                        _hurd_id.aux.uids, _hurd_id.aux.nuids,
                        newgen, 1 + _hurd_id.gen.ngids,