summaryrefslogtreecommitdiffstats
path: root/src/messages/MPoolSnapReply.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages/MPoolSnapReply.h')
-rw-r--r--src/messages/MPoolSnapReply.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MPoolSnapReply.h b/src/messages/MPoolSnapReply.h
index 42422f7b01c..45e0206ac04 100644
--- a/src/messages/MPoolSnapReply.h
+++ b/src/messages/MPoolSnapReply.h
@@ -24,14 +24,14 @@ public:
epoch_t epoch;
- MPoolSnapReply() : PaxosServiceMessage(MSG_POOLSNAPREPLY, 0) {}
+ MPoolSnapReply() : PaxosServiceMessage(MSG_POOLSNAPREPLY, VERSION_T) {}
MPoolSnapReply( ceph_fsid_t& f, tid_t t, int rc, int e, version_t v) :
PaxosServiceMessage(MSG_POOLSNAPREPLY, v), fsid(f), tid(t), replyCode(rc), epoch(e) {}
const char *get_type_name() { return "poolsnapreply"; }
void print(ostream& out) {
- out << "poolsnapreply(" << tid <<")";
+ out << "poolsnapreply(" << tid << "v " << version << ")";
}
void encode_payload() {