diff options
Diffstat (limited to 'console-tools/dumpkmap.c')
-rw-r--r-- | console-tools/dumpkmap.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c index 62313e77f..7c6633ae8 100644 --- a/console-tools/dumpkmap.c +++ b/console-tools/dumpkmap.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 <unistd.h> | ||
15 | #include <string.h> | ||
16 | #include <stdlib.h> | ||
17 | #include <sys/ioctl.h> | ||
18 | #include "busybox.h" | 11 | #include "busybox.h" |
19 | 12 | ||
20 | /* From <linux/kd.h> */ | 13 | /* From <linux/kd.h> */ |
@@ -38,7 +31,7 @@ int dumpkmap_main(int argc, char **argv) | |||
38 | if (argc >= 2 && *argv[1] == '-') | 31 | if (argc >= 2 && *argv[1] == '-') |
39 | bb_show_usage(); | 32 | bb_show_usage(); |
40 | 33 | ||
41 | fd = bb_xopen(CURRENT_VC, O_RDWR); | 34 | fd = xopen(CURRENT_VC, O_RDWR); |
42 | 35 | ||
43 | write(1, magic, 7); | 36 | write(1, magic, 7); |
44 | 37 | ||