summaryrefslogtreecommitdiff
path: root/runit/runsv.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-27 22:22:17 +0000
committerDenis Vlasenko2007-01-27 22:22:17 +0000
commite2473f8c233c96fbcb295aa7a1f758a46f962f66 (patch)
treeb3391183fd648f092668588cbcd81971bc43f122 /runit/runsv.c
parent8c7839512039212ba88e48d856d0ac9835fdec67 (diff)
downloadbusybox-e2473f8c233c96fbcb295aa7a1f758a46f962f66.zip
busybox-e2473f8c233c96fbcb295aa7a1f758a46f962f66.tar.gz
runit/* cleanup part 2
Diffstat (limited to 'runit/runsv.c')
-rw-r--r--runit/runsv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index 24a51f2..018a80e 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -486,25 +486,25 @@ int runsv_main(int argc, char **argv)
coe(svd[1].fdlock);
}
- fifo_make("log/supervise/control"+4, 0600);
+ mkfifo("log/supervise/control"+4, 0600);
svd[0].fdcontrol = xopen("log/supervise/control"+4, O_RDONLY|O_NDELAY);
coe(svd[0].fdcontrol);
svd[0].fdcontrolwrite = xopen("log/supervise/control"+4, O_WRONLY|O_NDELAY);
coe(svd[0].fdcontrolwrite);
update_status(&svd[0]);
if (haslog) {
- fifo_make("log/supervise/control", 0600);
+ mkfifo("log/supervise/control", 0600);
svd[1].fdcontrol = xopen("log/supervise/control", O_RDONLY|O_NDELAY);
coe(svd[1].fdcontrol);
svd[1].fdcontrolwrite = xopen("log/supervise/control", O_WRONLY|O_NDELAY);
coe(svd[1].fdcontrolwrite);
update_status(&svd[1]);
}
- fifo_make("log/supervise/ok"+4, 0600);
+ mkfifo("log/supervise/ok"+4, 0600);
fd = xopen("log/supervise/ok"+4, O_RDONLY|O_NDELAY);
coe(fd);
if (haslog) {
- fifo_make("log/supervise/ok", 0600);
+ mkfifo("log/supervise/ok", 0600);
fd = xopen("log/supervise/ok", O_RDONLY|O_NDELAY);
coe(fd);
}