diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-25 23:21:05 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-25 23:21:05 +0000 |
commit | cad04ef4f3435e56181a81c896912543be34ea3c (patch) | |
tree | 71e46e02914c97077eaa77e12a726b29240b27f6 /runit/runsvdir.c | |
parent | 10f8f5f4433a88b9cf9048d38a45838aa6e2abf6 (diff) | |
download | busybox-w32-cad04ef4f3435e56181a81c896912543be34ea3c.tar.gz busybox-w32-cad04ef4f3435e56181a81c896912543be34ea3c.tar.bz2 busybox-w32-cad04ef4f3435e56181a81c896912543be34ea3c.zip |
add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r-- | runit/runsvdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c index 2f54cfef8..cce2c5d9c 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c | |||
@@ -191,7 +191,7 @@ static int setup_log(void) | |||
191 | coe(logpipe[0]); | 191 | coe(logpipe[0]); |
192 | ndelay_on(logpipe[0]); | 192 | ndelay_on(logpipe[0]); |
193 | ndelay_on(logpipe[1]); | 193 | ndelay_on(logpipe[1]); |
194 | if (fd_copy(2, logpipe[1]) == -1) { | 194 | if (dup2(logpipe[1], 2) == -1) { |
195 | warnx("cannot set filedescriptor for log"); | 195 | warnx("cannot set filedescriptor for log"); |
196 | return -1; | 196 | return -1; |
197 | } | 197 | } |