diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-28 20:48:57 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-28 20:48:57 +0200 |
commit | dd11507cdf837ccab676b35b108c0af4729a9213 (patch) | |
tree | b3103a50580c3fda62c0c0823956312abbedd9da | |
parent | 8dda55956dad88a2d1cb2b22855cfc2a7efb79a9 (diff) | |
download | fastd-dd11507cdf837ccab676b35b108c0af4729a9213.tar fastd-dd11507cdf837ccab676b35b108c0af4729a9213.zip |
Fix socketpair error message
-rw-r--r-- | src/fastd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |