shithub: riscv

Download patch

ref: e7a266a6354eda00d81ef3a7cad0153e4a3ff510
parent: d421f1c456eae12ecf87823d0d78bd02d98c8590
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Dec 18 17:16:53 EST 2022

lnfs: post to /srv instead of #s

--- a/sys/src/cmd/lnfs.c
+++ b/sys/src/cmd/lnfs.c
@@ -173,7 +173,7 @@
 	char name[128];
 	int fd;
 
-	snprint(name, sizeof name, "#s/%s", srvname);
+	snprint(name, sizeof name, "/srv/%s", srvname);
 	fd = create(name, OWRITE, 0666);
 	if(fd < 0)
 		sysfatal("create of %s failed: %r", srvname);