summaryrefslogtreecommitdiff
path: root/usermux/usermux.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-13 22:33:06 +0000
committerRoland McGrath <roland@gnu.org>2002-05-13 22:33:06 +0000
commit8f95970e61d7d6b2041186a16fd60aea062b0924 (patch)
tree4052f0757fb1f03c0fb92785c129b3a83cbf1087 /usermux/usermux.c
parent0246ed28b5beaac2f614ed3780501d684476f75b (diff)
2002-05-13 Roland McGrath <roland@frob.com>
* leaf.c (create_user_node): Set NEW->nn_translated appropriately. * usermux.c (main): Set netfs_root_node->nn_translated to zero.
Diffstat (limited to 'usermux/usermux.c')
-rw-r--r--usermux/usermux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usermux/usermux.c b/usermux/usermux.c
index 209a868b..fad923c9 100644
--- a/usermux/usermux.c
+++ b/usermux/usermux.c
@@ -104,7 +104,7 @@ main (int argc, char **argv)
/* Parse our command line arguments. */
argp_parse (&argp, argc, argv, 0, 0, 0);
-
+
task_get_bootstrap_port (mach_task_self (), &bootstrap);
netfs_init ();
@@ -146,10 +146,11 @@ main (int argc, char **argv)
netfs_root_node->nn_stat.st_ino = 2;
netfs_root_node->nn_stat.st_mode =
S_IFDIR | (ul_stat.st_mode & ~S_IFMT & ~S_ITRANS);
+ netfs_root_node->nn_translated = 0;
fshelp_touch (&netfs_root_node->nn_stat, TOUCH_ATIME|TOUCH_MTIME|TOUCH_CTIME,
usermux_maptime);
-
+
for (;;) /* ?? */
netfs_server_loop ();
}