aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/syslogd.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-02-08 15:24:33 -0600
committerRob Landley <rob@landley.net>2016-02-08 15:24:33 -0600
commit85f54d8e836ac80264111df7d87db6c15eaca558 (patch)
tree65f3fe7b115aa758ebf528575c2a78f1df6e37b2 /toys/pending/syslogd.c
parent9b14cb6aa57c56080bbbc0db85027c3f834fb06f (diff)
downloadtoybox-85f54d8e836ac80264111df7d87db6c15eaca558.tar.gz
Add xpipe() to lib.
Diffstat (limited to 'toys/pending/syslogd.c')
-rw-r--r--toys/pending/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/syslogd.c b/toys/pending/syslogd.c
index 450bd72f..73542cac 100644
--- a/toys/pending/syslogd.c
+++ b/toys/pending/syslogd.c
@@ -460,7 +460,7 @@ init_jumpin:
}
// Setup signals
- if (pipe(TT.sigfd) < 0) error_exit("pipe failed\n");
+ xpipe(TT.sigfd);
fcntl(TT.sigfd[1] , F_SETFD, FD_CLOEXEC);
fcntl(TT.sigfd[0] , F_SETFD, FD_CLOEXEC);