summaryrefslogtreecommitdiff
path: root/console-tools/openvt.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-25 23:21:05 +0000
committerDenis Vlasenko2007-03-25 23:21:05 +0000
commitcad04ef4f3435e56181a81c896912543be34ea3c (patch)
tree71e46e02914c97077eaa77e12a726b29240b27f6 /console-tools/openvt.c
parent10f8f5f4433a88b9cf9048d38a45838aa6e2abf6 (diff)
downloadbusybox-cad04ef4f3435e56181a81c896912543be34ea3c.zip
busybox-cad04ef4f3435e56181a81c896912543be34ea3c.tar.gz
add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy
Diffstat (limited to 'console-tools/openvt.c')
-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 eb9f49f..0584584 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) */