git: 9front

Download patch

ref: f4022a506d8d2c24b7714b3a84ae505856fd564a
parent: d26dec35439bad9bf889307c85216a5b222289d4
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);
--