diff options
author | Roland McGrath <roland@gnu.org> | 2001-06-16 20:42:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-06-16 20:42:05 +0000 |
commit | bfdee12eced70f4deeeaa32d0a0e8d1fbec6e831 (patch) | |
tree | 150947a183a39f64de5534181b8e4be42df06fc1 | |
parent | 98f3c7c1090f114de7b3bd9fb307d8292527f69d (diff) |
2001-04-01 Neal H Walfield <neal@cs.uml.edu>
* main.c (S_exec_init): Use iohelp_create_empty_iouser.
-rw-r--r-- | exec/main.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/exec/main.c b/exec/main.c index e2688d55..47e2090c 100644 --- a/exec/main.c +++ b/exec/main.c @@ -1,6 +1,6 @@ /* GNU Hurd standard exec server, main program and server mechanics. - Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1992,93,94,95,96,97,98,99,2000,01 Free Software Foundation, Inc. Written by Roland McGrath. This file is part of the GNU Hurd. @@ -226,12 +226,13 @@ S_exec_init (struct trivfs_protid *protid, change. This will generate an immediate callback giving us the initial boot-time canonical sets. */ { + struct iouser *user; struct trivfs_protid *cred; mach_port_t right; - err = trivfs_open (fsys, - iohelp_create_iouser (make_idvec (), make_idvec ()), - 0, MACH_PORT_NULL, &cred); + err = iohelp_create_empty_iouser (&user); + assert_perror (err); + err = trivfs_open (fsys, user, 0, MACH_PORT_NULL, &cred); assert_perror (err); right = ports_get_send_right (cred); |