summaryrefslogtreecommitdiffstats
path: root/isys/lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'isys/lang.c')
-rw-r--r--isys/lang.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/isys/lang.c b/isys/lang.c
index e1c12587b..177e02126 100644
--- a/isys/lang.c
+++ b/isys/lang.c
@@ -12,6 +12,7 @@
#include "linux/kd.h"
#include "cpio.h"
+#include "isys.h"
#include "lang.h"
#include "stubs.h"
@@ -85,6 +86,9 @@ int loadKeymap(gzFile stream) {
#if defined (__s390__) || defined (__s390x__)
return 0;
#endif
+ if (isVioConsole())
+ return 0;
+
if (gunzip_read(stream, &magic, sizeof(magic)) != sizeof(magic))
return -EIO;