From bfdee12eced70f4deeeaa32d0a0e8d1fbec6e831 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 16 Jun 2001 20:42:05 +0000 Subject: 2001-04-01 Neal H Walfield * main.c (S_exec_init): Use iohelp_create_empty_iouser. --- exec/main.c | 9 +++++---- 1 file 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); -- cgit v1.2.3