diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-08-13 14:06:07 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-08-13 14:06:07 +0000 |
commit | f2f8144bb41b54e1f789ed8b35c3cd6dbbc63db3 (patch) | |
tree | 0dfed63945b6ef7d51a22077f7cbdc5a2cc34618 /loader2/init.c | |
parent | 58c2c7f655e29f3b288601e23cc9436e4b939323 (diff) | |
download | anaconda-f2f8144bb41b54e1f789ed8b35c3cd6dbbc63db3.tar.gz anaconda-f2f8144bb41b54e1f789ed8b35c3cd6dbbc63db3.tar.xz anaconda-f2f8144bb41b54e1f789ed8b35c3cd6dbbc63db3.zip |
also helps to open the console as r/w
Diffstat (limited to 'loader2/init.c')
-rw-r--r-- | loader2/init.c | 2 |
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; |