summaryrefslogtreecommitdiff
path: root/libfshelp/fetch-root.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-04-21 02:02:58 +0000
committerThomas Bushnell <thomas@gnu.org>1999-04-21 02:02:58 +0000
commit342dd1301dd4f2866137816078ffa73888e16156 (patch)
tree3c965329586e1a96bddcf967a65e9acd6ea751aa /libfshelp/fetch-root.c
parent9bb89193ac2a1be9f3ed4130615ce82f4fad2c32 (diff)
Tue Apr 20 21:43:20 1999 Thomas Bushnell, BSG <tb@mit.edu>
* fetch-root.c (fshelp_fetch_root): When starting a passive translator, set cwd to be DOTDOT instead of our own cwd.
Diffstat (limited to 'libfshelp/fetch-root.c')
-rw-r--r--libfshelp/fetch-root.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index 4e397d10..76839993 100644
--- a/libfshelp/fetch-root.c
+++ b/libfshelp/fetch-root.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell.
This file is part of the GNU Hurd.
@@ -119,7 +119,7 @@ fshelp_fetch_root (struct transbox *box, void *cookie,
bzero (fds, (STDERR_FILENO + 1) * sizeof (mach_port_t));
bzero (ints, INIT_INT_MAX * sizeof (int));
- ports[INIT_PORT_CWDIR] = reauth (getcwdir (), MACH_MSG_TYPE_MOVE_SEND);
+ ports[INIT_PORT_CWDIR] = dotdot;
ports[INIT_PORT_CRDIR] = reauth (getcrdir (), MACH_MSG_TYPE_MOVE_SEND);
ports[INIT_PORT_AUTH] = newauth;