diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-22 21:06:48 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-22 21:06:48 +0000 |
commit | 1d0dfe7b6674a4ca44ed80d88ab2835db38186da (patch) | |
tree | 116ae21065f529f97642ff555fa19d16d421dbcf /libfshelp | |
parent | c61c61a4f8bbf33b480e4db209a6ba78119e11fa (diff) |
(fshelp_fetch_root): Pass type and length parameters in the right
order in calls to auth_makeauth and fshelp_start_translator_long.
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/fetch-root.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c index 851ec4fb..7d9761fd 100644 --- a/libfshelp/fetch-root.c +++ b/libfshelp/fetch-root.c @@ -92,8 +92,7 @@ fshelp_fetch_root (struct transbox *box, void *cookie, ourauth = getauth (); uidarray[0] = uidarray[1] = uid; gidarray[0] = gidarray[1] = gid; - err = auth_makeauth (ourauth, MACH_PORT_NULL, 0, - MACH_MSG_TYPE_MAKE_SEND, + err = auth_makeauth (ourauth, 0, MACH_MSG_TYPE_MAKE_SEND, 0, uidarray, 1, uidarray, 2, gidarray, 1, gidarray, 2, &newauth); assert_perror (err); @@ -111,10 +110,10 @@ fshelp_fetch_root (struct transbox *box, void *cookie, err = fshelp_start_translator_long (reauth (underlying), MACH_MSG_TYPE_MOVE_SEND, argz, argz, argz_len, - fds, STDERR_FILENO + 1, - MACH_MSG_TYPE_MOVE_SEND, - ports, INIT_PORT_MAX, - MACH_MSG_TYPE_MOVE_SEND, + fds, MACH_MSG_TYPE_MOVE_SEND, + STDERR_FILENO + 1, + ports, MACH_MSG_TYPE_MOVE_SEND, + INIT_PORT_MAX, ints, INIT_INT_MAX, 0, &control); |