From 674942e14efb3218bbd8d9b61c04b9cd548ae9d7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 2 Dec 2008 14:26:06 -0800 Subject: [PATCH] always print snapids in hex --- src/include/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/types.h b/src/include/types.h index 7a7c463b6e43c..71aac6a1cb424 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -296,7 +296,7 @@ inline ostream& operator<<(ostream& out, snapid_t s) { else if (s == CEPH_SNAPDIR) return out << "snapdir"; else - return out << s.val; + return out << hex << s.val << dec; } -- 2.39.5