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

This commit is contained in:
cinap_lenrek 2015-03-23 03:15:58 +01:00
parent 8caec8564d
commit 3f4b45c4f1

View file

@ -12,7 +12,7 @@ main(int argc, char *argv[])
fmtinstall('r', errfmt);
bind("#c", "/dev", MBEFORE);
bind("#c", "/dev", MREPL);
open("/dev/cons", OREAD);
open("/dev/cons", OWRITE);
open("/dev/cons", OWRITE);