From dd11507cdf837ccab676b35b108c0af4729a9213 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 28 Apr 2014 20:48:57 +0200 Subject: Fix socketpair error message --- src/fastd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastd.c b/src/fastd.c index 5ce4ced..f72b351 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -126,7 +126,7 @@ void fastd_open_pipe(int *readfd, int *writefd) { /* use socketpair with SOCK_DGRAM instead of pipe2 with O_DIRECT to keep this portable */ if (socketpair(AF_UNIX, SOCK_DGRAM, 0, pipefd)) - exit_errno("pipe"); + exit_errno("socketpair"); fastd_setfd(pipefd[0], FD_CLOEXEC, 0); fastd_setfd(pipefd[1], FD_CLOEXEC, 0); -- cgit v1.2.3