shithub: riscv

Download patch

ref: 0f0270cdd612d6bc7f065b5c25c4cfffc2c0bd87
parent: 85728b93ec89ec80e4dfc2aa36a490ec5dda2452
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]);