diff --git a/src/lib/blob_route.hpp b/src/lib/blob_route.hpp index b2b8b0e3..0fb488c8 100644 --- a/src/lib/blob_route.hpp +++ b/src/lib/blob_route.hpp @@ -25,7 +25,7 @@ struct formatter< homeobject::BlobRoute > { template < typename FormatContext > auto format(homeobject::BlobRoute const& r, FormatContext& ctx) { - return format_to(ctx.out(), "{}:{:012x}", r.shard, r.blob); + return format_to(ctx.out(), "{}:{}:{:012x}", (r.shard >> 48), (r.shard & (UINT64_MAX >> 16)), r.blob); } }; } // namespace fmt