summaryrefslogtreecommitdiff
path: root/src/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/types.h')
-rw-r--r--src/include/types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/types.h b/src/include/types.h
index 1f9756b22c7..5a9e6f6d4c9 100644
--- a/src/include/types.h
+++ b/src/include/types.h
@@ -379,7 +379,7 @@ inline ostream& operator<<(ostream& out, const prettybyte_t& b)
if (b.v > bump_after << 20)
return out << (b.v >> 20) << " MB";
if (b.v > bump_after << 10)
- return out << (b.v >> 10) << " KB";
+ return out << (b.v >> 10) << " kB";
return out << b.v << " bytes";
}
@@ -402,7 +402,7 @@ inline ostream& operator<<(ostream& out, const si_t& b)
if (b.v > bump_after << 20)
return out << (b.v >> 20) << "M";
if (b.v > bump_after << 10)
- return out << (b.v >> 10) << "K";
+ return out << (b.v >> 10) << "k";
return out << b.v;
}
@@ -425,7 +425,7 @@ inline ostream& operator<<(ostream& out, const pretty_si_t& b)
if (b.v > bump_after << 20)
return out << (b.v >> 20) << " M";
if (b.v > bump_after << 10)
- return out << (b.v >> 10) << " K";
+ return out << (b.v >> 10) << " k";
return out << b.v << " ";
}
@@ -445,7 +445,7 @@ inline ostream& operator<<(ostream& out, const kb_t& kb)
return out << (kb.v >> 20) << " GB";
if (kb.v > bump_after << 10)
return out << (kb.v >> 10) << " MB";
- return out << kb.v << " KB";
+ return out << kb.v << " kB";
}
inline ostream& operator<<(ostream& out, const ceph_mon_subscribe_item& i)