]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd_nbd/rbd-nbd.cc
update sources to 12.2.8
[ceph.git] / ceph / src / tools / rbd_nbd / rbd-nbd.cc
index 3d76ece42a8a98d0a4afb7bff3e024f924b9b089..aefdbd36e0620a6367ea106c60f101911ed9503e 100644 (file)
@@ -723,8 +723,8 @@ static int do_map(int argc, const char *argv[], Config *cfg)
 
   if (info.size > ULONG_MAX) {
     r = -EFBIG;
-    cerr << "rbd-nbd: image is too large (" << prettybyte_t(info.size)
-         << ", max is " << prettybyte_t(ULONG_MAX) << ")" << std::endl;
+    cerr << "rbd-nbd: image is too large (" << byte_u_t(info.size)
+         << ", max is " << byte_u_t(ULONG_MAX) << ")" << std::endl;
     goto close_nbd;
   }