r25323: Fix the build
authorVolker Lendecke <vlendec@samba.org>
Tue, 25 Sep 2007 21:32:49 +0000 (21:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:59 +0000 (12:30 -0500)
(This used to be commit e55b30ab8417cb36def8e4d8b8f6ba16b4e664c1)

source3/lib/ctdbd_conn.c

index f56520b4a36f834ed12d1e9a3f3182c98c0bc2bd..08ab256accfee582bdb59ac4f487d478d7bde5ab 100644 (file)
@@ -95,7 +95,7 @@ static NTSTATUS get_cluster_vnn(struct ctdbd_connection *conn, uint32 *vnn)
        int32_t cstatus=-1;
        NTSTATUS status;
        status = ctdbd_control(conn,
-                              CTDB_CURRENT_NODE, CTDB_CONTROL_GET_VNN, 0,
+                              CTDB_CURRENT_NODE, CTDB_CONTROL_GET_PNN, 0,
                               tdb_null, NULL, NULL, &cstatus);
        if (!NT_STATUS_IS_OK(status)) {
                cluster_fatal("ctdbd_control failed\n");