summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-11-26 13:50:14 +1100
committerMartin Schwenke <martins@samba.org>2016-01-20 04:19:11 +0100
commit0ed60d757d3cb134eb74e559bc3288b44cf74a6f (patch)
tree1609bea77b2e345b6c288aeeccfe406ac7f47417 /ctdb
parent006d4c1dc3a3446f8a1ae6593487a13e712396ed (diff)
downloadsamba-0ed60d757d3cb134eb74e559bc3288b44cf74a6f.tar.gz
ctdb-protocol: Fix marshaling of seqnum
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/protocol/protocol_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/protocol/protocol_control.c b/ctdb/protocol/protocol_control.c
index 95edc1a2c34..1c8364e3b0c 100644
--- a/ctdb/protocol/protocol_control.c
+++ b/ctdb/protocol/protocol_control.c
@@ -713,7 +713,7 @@ static void ctdb_req_control_data_push(struct ctdb_req_control_data *cd,
case CTDB_CONTROL_GET_DB_SEQNUM:
u64 = cd->data.db_id;
- ctdb_uint32_push(u64, buf);
+ ctdb_uint64_push(u64, buf);
break;
case CTDB_CONTROL_DB_SET_HEALTHY: