diff options
Diffstat (limited to 'base/posix/unix_domain_socket.cc')
-rw-r--r-- | base/posix/unix_domain_socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/posix/unix_domain_socket.cc b/base/posix/unix_domain_socket.cc index 36f4c43..da8be63 100644 --- a/base/posix/unix_domain_socket.cc +++ b/base/posix/unix_domain_socket.cc @@ -111,7 +111,7 @@ ssize_t UnixDomainSocket::SendRecvMsg(int fd, // This socketpair is only used for the IPC and is cleaned up before // returning. if (socketpair(AF_UNIX, SOCK_DGRAM, 0, fds) == -1) - return false; + return -1; std::vector<int> fd_vector; fd_vector.push_back(fds[1]); |