shithub: riscv

Download patch

ref: 8bf1e5b77521d94876a58989a434ef1a08d6d509
parent: 752a61e301d9ee84e2ce19f954a3519591e8ea96
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Dec 18 17:07:37 EST 2022

paqfs: post to /srv, not #s

--- a/sys/src/cmd/paqfs/paqfs.c
+++ b/sys/src/cmd/paqfs/paqfs.c
@@ -164,7 +164,7 @@
 {
 	int pfd[2];
 	int fd, mnt, srv, stdio, verify;
-	char buf[64], *mntpoint, *srvname, *p;
+	char buf[128], *mntpoint, *srvname, *p;
 
 	fmtinstall('V', sha1fmt);
 
@@ -231,7 +231,7 @@
 		if(pipe(pfd) < 0)
 			sysfatal("pipe: %r");
 		if(srv){
-			snprint(buf, sizeof buf, "#s/%s", srvname);
+			snprint(buf, sizeof buf, "/srv/%s", srvname);
 			fd = create(buf, OWRITE, 0666);
 			if(fd < 0)
 				sysfatal("create %s: %r", buf);