shithub: riscv

Download patch

ref: c2762df06f75459cb52510d21db6424ed9b1184a
parent: 956ff38121ca10af2fc33dd1700f29bb80bf716c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Dec 18 17:24:38 EST 2022

aux/consolefs: post to /srv instead of #s

--- a/sys/src/cmd/aux/consolefs.c
+++ b/sys/src/cmd/aux/consolefs.c
@@ -360,8 +360,8 @@
 	proccreate(fsrun, v, 16*1024);
 
 	/* Typically mounted before /srv exists */
-	if(access("#s/consoles", AEXIST) < 0){
-		srv = create("#s/consoles", OWRITE, 0666);
+	if(access("/srv/consoles", AEXIST) < 0){
+		srv = create("/srv/consoles", OWRITE, 0666);
 		if(srv < 0)
 			fatal("post: %r");