X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=console-tools%2Fsetkeycodes.c;h=85612c8b18f0c8e0f47857297627831b4c044169;hb=9c60b290717e3ff1b9a8e09da4abe6f46964aa82;hp=0be4724ca6e3b17d7f8c53843ad29cf914b19a06;hpb=67991cf824f8df27e74c92d754fb507681c69ce6;p=oweals%2Fbusybox.git diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c index 0be4724ca..85612c8b1 100644 --- a/console-tools/setkeycodes.c +++ b/console-tools/setkeycodes.c @@ -22,11 +22,11 @@ * */ -#include "busybox.h" #include #include #include #include +#include "busybox.h" /* From */ @@ -46,7 +46,7 @@ setkeycodes_main(int argc, char** argv) show_usage(); } - fd = get_console_fd("/dev/console"); + fd = get_console_fd(); while (argc > 2) { a.keycode = atoi(argv[2]);