From: Martin Schwenke Date: Thu, 3 Oct 2024 05:13:30 +0000 (+1000) Subject: ctdb-tcp: Modernise a DEBUG X-Git-Tag: tdb-1.4.13~995 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1cb6dca721e0082b2b31b4f9be13a02c46235ac;p=thirdparty%2Fsamba.git ctdb-tcp: Modernise a DEBUG This is last old-style one in this file. Signed-off-by: Martin Schwenke Reviewed-by: John Mulligan Reviewed-by: Anoop C S Autobuild-User(master): Anoop C S Autobuild-Date(master): Mon Oct 7 17:12:18 UTC 2024 on atb-devel-224 --- diff --git a/ctdb/tcp/tcp_connect.c b/ctdb/tcp/tcp_connect.c index ca3d8a8c788..d69c196dbe4 100644 --- a/ctdb/tcp/tcp_connect.c +++ b/ctdb/tcp/tcp_connect.c @@ -500,7 +500,8 @@ static int ctdb_tcp_listen_automatic(struct ctdb_context *ctdb) * process. */ if (ctdb->num_nodes == 0) { - DEBUG(DEBUG_CRIT,("No nodes available to attempt bind to - is the nodes file empty?\n")); + D_ERR("No nodes available to attempt bind to - " + "is the nodes file empty?\n"); return -1; }