]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tcp: Modernise a DEBUG
authorMartin Schwenke <mschwenke@ddn.com>
Thu, 3 Oct 2024 05:13:30 +0000 (15:13 +1000)
committerAnoop C S <anoopcs@samba.org>
Mon, 7 Oct 2024 17:12:18 +0000 (17:12 +0000)
This is last old-style one in this file.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Mon Oct  7 17:12:18 UTC 2024 on atb-devel-224

ctdb/tcp/tcp_connect.c

index ca3d8a8c788dd09ed1d87c3cbc59fdd104a27557..d69c196dbe49ad65ff727d6637a18073d6b4d362 100644 (file)
@@ -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;
        }