kernel: boot: use "bootconsole" instead of "console" env var

This commit is contained in:
Giacomo Tesio 2017-08-13 15:24:18 +02:00
parent c5466152f1
commit 34e6b0adc2
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit dc88eab70ff44e80df732070523e9047030513c9
Subproject commit ff7d0b5de9046ddd556fd3dbc1af9eb552dff40a

View File

@ -55,7 +55,7 @@ boot(int argc, char *argv[])
/*
* start /dev/cons
*/
if(readfile("#ec/console", buf, sizeof(cputype)) >= 0
if(readfile("#ec/bootconsole", buf, sizeof(buf)) >= 0
&& jehanne_strcmp("comconsole", buf) == 0){
if(startcomconsole() < 0)
fatal("no console found");