Fix a cut&paste error
authorVolker Lendecke <vl@samba.org>
Wed, 18 Jan 2012 11:06:01 +0000 (12:06 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 18 Jan 2012 11:25:38 +0000 (12:25 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 488de939b78125ac38822760102e05298a5e70c5)

ctdb/client/ctdb_client.c

index a580a3e380401e3bd0d15a340285d4ca0b978cc0..0d0f2fea4487fcce63128192fc98e6e3fe69f8ae 100644 (file)
@@ -4469,7 +4469,7 @@ int ctdb_ctrl_get_db_priority(struct ctdb_context *ctdb, struct timeval timeout,
                           CTDB_CONTROL_GET_DB_PRIORITY, 0, data,
                           tmp_ctx, NULL, &res, &timeout, NULL);
        if (ret != 0 || res < 0) {
-               DEBUG(DEBUG_ERR,(__location__ " ctdb_control for set_db_priority failed\n"));
+               DEBUG(DEBUG_ERR,(__location__ " ctdb_control for get_db_priority failed\n"));
                talloc_free(tmp_ctx);
                return -1;
        }