aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-08-16 12:47:36 -0700
committerAlexander Blair <snipa@jagtech.io>2020-08-16 12:47:36 -0700
commit0b0da2aa81e1642fb7fb218b052313d9790c11fb (patch)
tree846e4ea9a5f3c1d4250171b077a66f721eb0f0d4 /src/common
parentMerge pull request #6679 (diff)
parentdaemon: print sampling time in print_net_stats (diff)
downloadmonero-0b0da2aa81e1642fb7fb218b052313d9790c11fb.tar.xz
Merge pull request #6689
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero) ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.cpp b/src/common/util.cpp
index 138ac4294..433cb4919 100644
--- a/src/common/util.cpp
+++ b/src/common/util.cpp
@@ -1116,7 +1116,7 @@ std::string get_nix_version_display_string()
static constexpr const byte_map sizes[] =
{
{"%.0f B", 1024},
- {"%.2f KB", 1024 * 1024},
+ {"%.2f kB", 1024 * 1024},
{"%.2f MB", std::uint64_t(1024) * 1024 * 1024},
{"%.2f GB", std::uint64_t(1024) * 1024 * 1024 * 1024},
{"%.2f TB", std::uint64_t(1024) * 1024 * 1024 * 1024 * 1024}