git: 9front

Download patch

ref: ed0e438a3b1dad94a071bcbf3b6e1aa9a288e8c4
parent: 8ceb2c2b833705bb3fa63229b1aae68070183378
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Dec 18 08:38:38 EST 2022

cwfs: post to /srv instead of #s

--- a/sys/src/cmd/cwfs/main.c
+++ b/sys/src/cmd/cwfs/main.c
@@ -149,7 +149,7 @@
 	/* post 9p service */
 	if(pipe(p) < 0)
 		panic("can't make a pipe");
-	snprint(buf, sizeof(buf), "#s/%s", name);
+	snprint(buf, sizeof(buf), "/srv/%s", name);
 	srvfd(buf, 0666, p[0]);
 	close(p[0]);
 	srvchan(p[1], buf);
@@ -157,7 +157,7 @@
 	/* post cmd service */
 	if(pipe(p) < 0)
 		panic("can't make a pipe");
-	snprint(buf, sizeof(buf), "#s/%s.cmd", name);
+	snprint(buf, sizeof(buf), "/srv/%s.cmd", name);
 	srvfd(buf, 0660, p[0]);
 	close(p[0]);
 
--