summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-07-11 01:00:13 +0000
committerJeremy Katz <katzj@redhat.com>2006-07-11 01:00:13 +0000
commit1a2d5c73063dbb430009c390f611d2e7dfc61427 (patch)
treed474069694abf993a48e331d4e7c6ec5c29b144a /utils
parent1bc9f8a62ebfb9535a8d52f31bbb14a42034eb74 (diff)
downloadanaconda-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.c4
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);
}