summaryrefslogtreecommitdiff
path: root/libdiskfs/boot-start.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-01 20:16:33 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-01 20:16:33 +0000
commit8bbb708b5bbabcf98f7f394da7d83865d7197cb6 (patch)
tree3ba75f9061696dd80e49a6e86df07ee2e18d5f23 /libdiskfs/boot-start.c
parentf00d576e8838df7ed655641a019afe273f81db2a (diff)
Formerly boot-start.c.~30~
Diffstat (limited to 'libdiskfs/boot-start.c')
-rw-r--r--libdiskfs/boot-start.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 12b10f7a..3dc878be 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -83,6 +83,9 @@ diskfs_start_bootstrap (void)
mach_port_insert_right (mach_task_self (), root_pt, root_pt,
MACH_MSG_TYPE_MAKE_SEND);
+ /* Tell the library what they are. */
+ setcwdir (root_pt);
+ setcrdir (root_pt);
/* Contact the exec server */
err = fsys_getroot (diskfs_exec_ctl, root_pt, MACH_MSG_TYPE_COPY_SEND,