diff options
Diffstat (limited to 'console-tools/loadkmap.c')
-rw-r--r-- | console-tools/loadkmap.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index 69d33bd95..ec55c3990 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c | |||
@@ -8,13 +8,6 @@ | |||
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <errno.h> | ||
12 | #include <fcntl.h> | ||
13 | #include <stdio.h> | ||
14 | #include <string.h> | ||
15 | #include <stdlib.h> | ||
16 | #include <unistd.h> | ||
17 | #include <sys/ioctl.h> | ||
18 | #include "busybox.h" | 11 | #include "busybox.h" |
19 | 12 | ||
20 | #define BINARY_KEYMAP_MAGIC "bkeymap" | 13 | #define BINARY_KEYMAP_MAGIC "bkeymap" |
@@ -43,7 +36,7 @@ int loadkmap_main(int argc, char **argv) | |||
43 | if (argc != 1) | 36 | if (argc != 1) |
44 | bb_show_usage(); | 37 | bb_show_usage(); |
45 | 38 | ||
46 | fd = bb_xopen(CURRENT_VC, O_RDWR); | 39 | fd = xopen(CURRENT_VC, O_RDWR); |
47 | 40 | ||
48 | xread(0, buff, 7); | 41 | xread(0, buff, 7); |
49 | if (strncmp(buff, BINARY_KEYMAP_MAGIC, 7)) | 42 | if (strncmp(buff, BINARY_KEYMAP_MAGIC, 7)) |