summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/proto_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/hastd/proto_tcp.c')
-rw-r--r--sbin/hastd/proto_tcp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/hastd/proto_tcp.c b/sbin/hastd/proto_tcp.c
index 8f0f157..44eb13b 100644
--- a/sbin/hastd/proto_tcp.c
+++ b/sbin/hastd/proto_tcp.c
@@ -298,8 +298,7 @@ tcp_connect(void *ctx, int timeout)
flags = fcntl(tctx->tc_fd, F_GETFL);
if (flags == -1) {
- KEEP_ERRNO(pjdlog_common(LOG_DEBUG, 1, errno,
- "fcntl(F_GETFL) failed"));
+ pjdlog_common(LOG_DEBUG, 1, errno, "fcntl(F_GETFL) failed");
return (errno);
}
/*
@@ -308,8 +307,8 @@ tcp_connect(void *ctx, int timeout)
*/
flags |= O_NONBLOCK;
if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) {
- KEEP_ERRNO(pjdlog_common(LOG_DEBUG, 1, errno,
- "fcntl(F_SETFL, O_NONBLOCK) failed"));
+ pjdlog_common(LOG_DEBUG, 1, errno,
+ "fcntl(F_SETFL, O_NONBLOCK) failed");
return (errno);
}
OpenPOWER on IntegriCloud