Fix a const warning
authorVolker Lendecke <vl@samba.org>
Mon, 22 Aug 2011 14:40:58 +0000 (16:40 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 22 Aug 2011 15:11:07 +0000 (17:11 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
server/ctdb_takeover.c

index 626b10e54540b74f7423e661ec5d3e164f35524d..1e2e829e4dbbed1b56cdaae0fcdf294a54fe1307 100644 (file)
@@ -483,7 +483,7 @@ static int32_t ctdb_do_updateip(struct ctdb_context *ctdb,
        int ret;
        struct ctdb_do_updateip_state *state;
        struct ctdb_iface *old = vnn->iface;
-       char *new_name;
+       const char *new_name;
 
        ctdb_vnn_unassign_iface(ctdb, vnn);
        ret = ctdb_vnn_assign_iface(ctdb, vnn);