summaryrefslogtreecommitdiff
path: root/sys/src/lib9p/ramfs.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-03-07 20:19:14 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-03-07 20:19:14 +0100
commit225c359beab9e2f17c66e65647b9e0a94f942620 (patch)
treef68865f87f1c741a3a7205d66a1f9a0cddc7bde2 /sys/src/lib9p/ramfs.c
parente1cdcfdb172071bafef18b1ac160138c97459b79 (diff)
lib9p: get rid of Srv.nopipe and Srv.leavefdsopen hacks
it is unclear how Srv.nopipe flag should work inside postmountserv(). if a server wants to serve on stdio descriptors, he can just call srv() after initializing Srv.infd and Srv.outfd. The Srv.leavefdsopen hack can be removed now that acme win has been fixed.
Diffstat (limited to 'sys/src/lib9p/ramfs.c')
-rw-r--r--sys/src/lib9p/ramfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/lib9p/ramfs.c b/sys/src/lib9p/ramfs.c
index 13004a4ec..10e9b98be 100644
--- a/sys/src/lib9p/ramfs.c
+++ b/sys/src/lib9p/ramfs.c
@@ -158,7 +158,7 @@ main(int argc, char **argv)
usage();
if(chatty9p)
- fprint(2, "ramsrv.nopipe %d srvname %s mtpt %s\n", fs.nopipe, srvname, mtpt);
+ fprint(2, "srvname %s mtpt %s\n", srvname, mtpt);
if(addr == nil && srvname == nil && mtpt == nil)
sysfatal("must specify -a, -s, or -m option");
if(addr)