From d1cb6dca721e0082b2b31b4f9be13a02c46235ac Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 3 Oct 2024 15:13:30 +1000 Subject: [PATCH] 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 --- ctdb/tcp/tcp_connect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.47.3