add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy

This commit is contained in:
Denis Vlasenko
2007-03-25 23:21:05 +00:00
parent 10f8f5f443
commit cad04ef4f3
11 changed files with 31 additions and 52 deletions

View File

@@ -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) */