summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/openvt.c4
-rw-r--r--console-tools/setkeycodes.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/console-tools/openvt.c b/console-tools/openvt.c
index d9f49bb..6bdf608 100644
--- a/console-tools/openvt.c
+++ b/console-tools/openvt.c
@@ -39,7 +39,7 @@ int openvt_main(int argc, char **argv)
if (argc < 3)
- bb_show_usage();
+ bb_show_usage();
/* check for Illegal vt number: < 1 or > 12 */
sprintf(vtname, VC_FORMAT,(int)bb_xgetlarg(argv[1], 10, 1, 12));
@@ -56,7 +56,7 @@ int openvt_main(int argc, char **argv)
if (setsid() < 0) {
#endif
- bb_perror_msg_and_die("Unable to set new session");
+ bb_perror_msg_and_die("Unable to set new session");
}
close(0); /* so that new vt becomes stdin */
diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c
index 169d0bb..efb6e65 100644
--- a/console-tools/setkeycodes.c
+++ b/console-tools/setkeycodes.c
@@ -45,7 +45,7 @@ setkeycodes_main(int argc, char** argv)
if (argc % 2 != 1 || argc < 2) {
bb_show_usage();
}
-
+
fd = get_console_fd();
while (argc > 2) {