diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-28 01:22:17 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-28 01:22:17 +0300 |
commit | e2473f8c233c96fbcb295aa7a1f758a46f962f66 (patch) | |
tree | b3391183fd648f092668588cbcd81971bc43f122 /runit/runsv.c | |
parent | 8c7839512039212ba88e48d856d0ac9835fdec67 (diff) |
runit/* cleanup part 2
Diffstat (limited to 'runit/runsv.c')
-rw-r--r-- | runit/runsv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index 24a51f2b1..018a80eeb 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); } |