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)
bb_show_usage();
}
/* check for illegal vt number: < 1 or > 63 */
- sprintf(vtname, VC_FORMAT, (int)xatoul_range(argv[1], 1, 63));
+ sprintf(vtname, VC_FORMAT, (int)xatou_range(argv[1], 1, 63));
+//FIXME NOMMU
if (fork() == 0) {
/* child */
/* leave current vt (controlling tty) */