mirror of
https://github.com/monero-project/monero.git
synced 2025-08-07 08:32:16 -04:00
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)
This commit is contained in:
commit
0b0da2aa81
2 changed files with 5 additions and 3 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue