From f2f8144bb41b54e1f789ed8b35c3cd6dbbc63db3 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 13 Aug 2004 14:06:07 +0000 Subject: also helps to open the console as r/w --- loader2/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader2/init.c') diff --git a/loader2/init.c b/loader2/init.c index 0ce08baea..11641ae48 100644 --- a/loader2/init.c +++ b/loader2/init.c @@ -518,7 +518,7 @@ int main(int argc, char **argv) { "/dev/hvsi2", /* hvsi for POWER5 */ NULL }; for (i = 0; consoles[i] != NULL; i++) { - if ((fd = open(consoles[i], O_RDONLY)) >= 0) { + if ((fd = open(consoles[i], O_RDWR)) >= 0) { printf("anaconda installer init version %s using %s as console\n", VERSION, consoles[i]); isSerial = 0; -- cgit