1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

when we print "Remote node had flags xx local had flags xx

we swapped the flags when printing them to the log

(This used to be ctdb commit 9fc8831a7fcd34763567227d61cd525ec441ebf2)
This commit is contained in:
Ronnie Sahlberg 2007-11-23 09:54:38 +11:00
parent 6b5cfde016
commit e95a4b5cdb

View File

@ -772,8 +772,8 @@ static int update_local_flags(struct ctdb_context *ctdb, struct ctdb_node_map *n
}
if (nodemap->nodes[j].flags != remote_nodemap->nodes[j].flags) {
DEBUG(0,("Remote node %u had flags 0x%x, local had 0x%x - updating local\n",
nodemap->nodes[j].pnn, nodemap->nodes[j].flags,
remote_nodemap->nodes[j].flags));
nodemap->nodes[j].pnn, remote_nodemap->nodes[j].flags,
nodemap->nodes[j].flags));
nodemap->nodes[j].flags = remote_nodemap->nodes[j].flags;
}
talloc_free(remote_nodemap);