summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exec/main.c9
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);