From c11a46da1f6e487cdc8d5fba3a0966b711201ad5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 12 Oct 1995 07:25:03 +0000 Subject: (diskfs_execboot_fsys_startup): Use dir_lookup instead of hurd_file_name_lookup to open /servers/exec. --- libdiskfs/boot-start.c | 6 ++++-- 1 file 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); -- cgit v1.2.3