summaryrefslogtreecommitdiffstats
path: root/loader2/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/init.c')
-rw-r--r--loader2/init.c2
1 files changed, 1 insertions, 1 deletions
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;