[PATCH] ctdb: add space to a debug message
Michael Adam
obnox at samba.org
Tue May 31 22:27:12 UTC 2016
Review/push appreciated.
Thanks - Michael
-------------- next part --------------
From 54cc30846ab532c856d343398d54ccc23f970393 Mon Sep 17 00:00:00 2001
From: Michael Adam <obnox at samba.org>
Date: Thu, 26 May 2016 13:40:38 +0200
Subject: [PATCH] ctdb:tcp: add missing spaces in debug message in
ctdb_tcp_node_connect()
Signed-off-by: Michael Adam <obnox at samba.org>
---
ctdb/tcp/tcp_connect.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ctdb/tcp/tcp_connect.c b/ctdb/tcp/tcp_connect.c
index fbb17c8..a56320d 100644
--- a/ctdb/tcp/tcp_connect.c
+++ b/ctdb/tcp/tcp_connect.c
@@ -145,7 +145,7 @@ void ctdb_tcp_node_connect(struct tevent_context *ev, struct tevent_timer *te,
tnode->fd = socket(sock_out.sa.sa_family, SOCK_STREAM, IPPROTO_TCP);
if (tnode->fd == -1) {
- DEBUG(DEBUG_ERR, (__location__ "Failed to create socket\n"));
+ DEBUG(DEBUG_ERR, (__location__ " Failed to create socket\n"));
return;
}
set_nonblocking(tnode->fd);
@@ -185,7 +185,7 @@ void ctdb_tcp_node_connect(struct tevent_context *ev, struct tevent_timer *te,
}
if (bind(tnode->fd, (struct sockaddr *)&sock_in, sockin_size) == -1) {
- DEBUG(DEBUG_ERR, (__location__ "Failed to bind socket %s(%d)\n",
+ DEBUG(DEBUG_ERR, (__location__ " Failed to bind socket %s(%d)\n",
strerror(errno), errno));
close(tnode->fd);
return;
--
2.5.5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160601/d2ed1e7b/signature.sig>
More information about the samba-technical
mailing list