shithub: riscv

Download patch

ref: 3f4b45c4f191ad009b2f335d2f935dcd727cdeb4
parent: 8caec8564d6221146e055937b6ae344a647c7c82
author: cinap_lenrek <[email protected]>
date: Sun Mar 22 23:15:58 EDT 2015

boot: bind #c to /dev with MREPL instead of MBEFORE to avoid double entries

--- a/sys/src/9/boot/boot.c
+++ b/sys/src/9/boot/boot.c
@@ -12,7 +12,7 @@
 
 	fmtinstall('r', errfmt);
 
-	bind("#c", "/dev", MBEFORE);
+	bind("#c", "/dev", MREPL);
 	open("/dev/cons", OREAD);
 	open("/dev/cons", OWRITE);
 	open("/dev/cons", OWRITE);