From: Michael Adam Date: Thu, 26 May 2016 11:40:38 +0000 (+0200) Subject: ctdb:tcp: add missing spaces in debug message in ctdb_tcp_node_connect() X-Git-Tag: tdb-1.3.10~1034 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=537d5fc50e692d04863a5995324ce74e71799b43;p=thirdparty%2Fsamba.git ctdb:tcp: add missing spaces in debug message in ctdb_tcp_node_connect() Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- diff --git a/ctdb/tcp/tcp_connect.c b/ctdb/tcp/tcp_connect.c index fbb17c8ab09..a56320da736 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;