add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy
This commit is contained in:
@@ -191,7 +191,7 @@ static int setup_log(void)
|
||||
coe(logpipe[0]);
|
||||
ndelay_on(logpipe[0]);
|
||||
ndelay_on(logpipe[1]);
|
||||
if (fd_copy(2, logpipe[1]) == -1) {
|
||||
if (dup2(logpipe[1], 2) == -1) {
|
||||
warnx("cannot set filedescriptor for log");
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user