summaryrefslogtreecommitdiffhomepage
path: root/console-tools
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-25 23:21:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-25 23:21:05 +0000
commitcad04ef4f3435e56181a81c896912543be34ea3c (patch)
tree71e46e02914c97077eaa77e12a726b29240b27f6 /console-tools
parent10f8f5f4433a88b9cf9048d38a45838aa6e2abf6 (diff)
add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy
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) */