projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ash: do not let EXIT trap to fire in `trap`
[oweals/busybox.git]
/
console-tools
/
dumpkmap.c
diff --git
a/console-tools/dumpkmap.c
b/console-tools/dumpkmap.c
index 1d6bbdc63064c1561102bb520bcf4abe84a73616..c382b5af995bb69772b7e3de917efd7817a47e24 100644
(file)
--- a/
console-tools/dumpkmap.c
+++ b/
console-tools/dumpkmap.c
@@
-32,7
+32,7
@@
int dumpkmap_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
/* bb_warn_ignoring_args(argc>=2);*/
- fd =
xopen(CURRENT_VC, O_RDWR
);
+ fd =
get_console_fd_or_die(
);
write(STDOUT_FILENO, "bkeymap", 7);