diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-07-11 01:00:13 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-07-11 01:00:13 +0000 |
commit | 1a2d5c73063dbb430009c390f611d2e7dfc61427 (patch) | |
tree | d474069694abf993a48e331d4e7c6ec5c29b144a /utils | |
parent | 1bc9f8a62ebfb9535a8d52f31bbb14a42034eb74 (diff) | |
download | anaconda-1a2d5c73063dbb430009c390f611d2e7dfc61427.tar.gz anaconda-1a2d5c73063dbb430009c390f611d2e7dfc61427.tar.xz anaconda-1a2d5c73063dbb430009c390f611d2e7dfc61427.zip |
2006-07-10 Jeremy Katz <katzj@redhat.com>
* utils/readmap.c (main): Try to fix things for serial console
(Alexander Dupuy, #198310)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/readmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/readmap.c b/utils/readmap.c index 778edddec..bfbda5a81 100644 --- a/utils/readmap.c +++ b/utils/readmap.c @@ -36,9 +36,9 @@ int main(int argc, char ** argv) { memset(keymaps, 0, sizeof(keymaps)); - console = open("/dev/console", O_RDWR); + console = open("/dev/tty0", O_RDWR); if (console < 0) { - perror("open console"); + perror("open VGA+KBD"); exit(1); } |