fix compiler warning during a fatal error failing to lock down the socket
authorRonnie Sahlberg <sahlberg@samba.org>
Wed, 9 Apr 2008 23:56:49 +0000 (09:56 +1000)
committerRonnie Sahlberg <sahlberg@samba.org>
Wed, 9 Apr 2008 23:56:49 +0000 (09:56 +1000)
server/ctdb_daemon.c

index 24314e913452eb9dae58f557d98976a2c433d153..93af56c17620a0fbfe844089a25f00a7bad18281 100644 (file)
@@ -596,7 +596,7 @@ static int ux_socket_bind(struct ctdb_context *ctdb)
 
        if (chown(ctdb->daemon.name, geteuid(), getegid()) != 0 ||
            chmod(ctdb->daemon.name, 0700) != 0) {
-               DEBUG(DEBUG_CRIT,("Unable to secure ctdb socket '%s', ctdb->daemon.name\n"));
+               DEBUG(DEBUG_CRIT,("Unable to secure ctdb socket '%s', ctdb->daemon.name\n", ctdb->daemon.name));
                goto failed;
        }