aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/openvt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/console-tools/openvt.c b/console-tools/openvt.c
index eb9f49fe2..0584584df 100644
--- a/console-tools/openvt.c
+++ b/console-tools/openvt.c
@@ -22,8 +22,9 @@ int openvt_main(int argc, char **argv)
22 bb_show_usage(); 22 bb_show_usage();
23 } 23 }
24 /* check for illegal vt number: < 1 or > 63 */ 24 /* check for illegal vt number: < 1 or > 63 */
25 sprintf(vtname, VC_FORMAT, (int)xatoul_range(argv[1], 1, 63)); 25 sprintf(vtname, VC_FORMAT, (int)xatou_range(argv[1], 1, 63));
26 26
27//FIXME NOMMU
27 if (fork() == 0) { 28 if (fork() == 0) {
28 /* child */ 29 /* child */
29 /* leave current vt (controlling tty) */ 30 /* leave current vt (controlling tty) */