[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to libfuse/main.c
From: |
Thomas Schwinge |
Subject: |
Changes to libfuse/main.c |
Date: |
Tue, 06 Dec 2005 09:25:03 -0500 |
Index: libfuse/main.c
diff -u libfuse/main.c:1.12 libfuse/main.c:1.13
--- libfuse/main.c:1.12 Sat Dec 3 23:16:17 2005
+++ libfuse/main.c Tue Dec 6 14:25:03 2005
@@ -294,18 +294,10 @@
mach_port_t bootstrap, ul_node;
+ /* netfs initialization. */
+
task_get_bootstrap_port(mach_task_self(), &bootstrap);
- if(bootstrap == MACH_PORT_NULL)
- {
- /* no assigned bootstrap port, i.e. we got called as a
- * common program, not using settrans
- */
- fprintf(stderr, "program must be started as a translator.\n");
- return EPERM;
- }
- /* we have got a bootstrap port, that is, we were set up
- * using settrans and may start with normal operation ... */
netfs_init();
ul_node = netfs_startup(bootstrap, 0);