summaryrefslogtreecommitdiff
path: root/runit/runsvdir.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-26 16:44:20 +0000
committerDenis Vlasenko2007-05-26 16:44:20 +0000
commit5a6aeddfa7262e41802c77f70c9ef88e9c2c2476 (patch)
tree36bf70fe7e6c67e4ab37c446a191272eb90097ed /runit/runsvdir.c
parent6239b1f50a04121d96daba2cdc2f7c3765c9007b (diff)
downloadbusybox-5a6aeddfa7262e41802c77f70c9ef88e9c2c2476.zip
busybox-5a6aeddfa7262e41802c77f70c9ef88e9c2c2476.tar.gz
xpipe: introduce (saves ~170 bytes)
udhcp/signalpipe.c: use pipe instead of socketpair.
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r--runit/runsvdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 39929fc..4b94aa2 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -184,7 +184,7 @@ static int setup_log(void)
warnx("log must have at least seven characters");
return 0;
}
- if (pipe(logpipe) == -1) {
+ if (pipe(logpipe)) {
warnx("cannot create pipe for log");
return -1;
}