From 33e0ced38eebb96cc5254e3a70618f63bba461a1 Mon Sep 17 00:00:00 2001 From: Yan Jun Date: Tue, 27 Jun 2017 17:16:43 +0800 Subject: [PATCH] osd: use dump_unsigned consistent with the variable's type Signed-off-by: Yan Jun --- src/osd/OSD.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 142f3b2aa8494..b14bbff6b6c4e 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -2110,8 +2110,8 @@ bool OSD::asok_command(string admin_command, cmdmap_t& cmdmap, string format, it->wi.name.dump(f); f->close_section(); //entity_name_t - f->dump_int("cookie", it->wi.cookie); - f->dump_int("timeout", it->wi.timeout_seconds); + f->dump_unsigned("cookie", it->wi.cookie); + f->dump_unsigned("timeout", it->wi.timeout_seconds); f->open_object_section("entity_addr_t"); it->wi.addr.dump(f); -- 2.39.5