diff options
author | Roland McGrath <roland@gnu.org> | 1995-10-12 07:25:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-10-12 07:25:03 +0000 |
commit | c11a46da1f6e487cdc8d5fba3a0966b711201ad5 (patch) | |
tree | d62f36cecce7a85c5e2f06ee3ccb91f27319f8a2 /libdiskfs/boot-start.c | |
parent | 7db5d14a05d152f1ef45b55d8b52df8ddfb9fc2d (diff) |
(diskfs_execboot_fsys_startup): Use dir_lookup instead of
hurd_file_name_lookup to open /servers/exec.
Diffstat (limited to 'libdiskfs/boot-start.c')
-rw-r--r-- | libdiskfs/boot-start.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index 2f0479b6..6e749195 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -297,9 +297,11 @@ diskfs_execboot_fsys_startup (mach_port_t port, MACH_MSG_TYPE_MAKE_SEND); ports_port_deref (rootpi); - err = hurd_file_name_lookup (rootport, rootport, _SERVERS_EXEC, - O_READ|O_WRITE|O_EXEC|O_NOTRANS, 0, real); + err = dir_lookup (rootport, _SERVERS_EXEC, + O_READ|O_WRITE|O_EXEC|O_NOTRANS, 0, real); assert_perror (err); + assert (retry == FS_RETRY_NORMAL); + assert (pathbuf[0] == '\0'); *realpoly = MACH_MSG_TYPE_MOVE_SEND; mach_port_deallocate (mach_task_self (), rootport); |