summaryrefslogtreecommitdiff
path: root/sys/src/cmd/paqfs
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-12-18 22:07:37 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-12-18 22:07:37 +0000
commit8bf1e5b77521d94876a58989a434ef1a08d6d509 (patch)
treeb7c3e39d8ca471f7961944cd6bcf7ea7425021fc /sys/src/cmd/paqfs
parent752a61e301d9ee84e2ce19f954a3519591e8ea96 (diff)
paqfs: post to /srv, not #s
Diffstat (limited to 'sys/src/cmd/paqfs')
-rw-r--r--sys/src/cmd/paqfs/paqfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/paqfs/paqfs.c b/sys/src/cmd/paqfs/paqfs.c
index 34e05051e..37927f785 100644
--- a/sys/src/cmd/paqfs/paqfs.c
+++ b/sys/src/cmd/paqfs/paqfs.c
@@ -164,7 +164,7 @@ main(int argc, char *argv[])
{
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 @@ main(int argc, char *argv[])
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);