Update hash_cache.cc

This commit is contained in:
felisucoibi 2019-12-01 12:28:52 +01:00 committed by GitHub
parent 2340c8ff20
commit ff9c7774f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ bool HashStorage::hashingProcessPaused()
static std::string friendlyUnit(uint64_t val)
{
const std::string units[5] = {"B","KB","MB","GB","TB"};
const std::string units[6] = {"B","KB","MB","GB","TB","PB"};
char buf[50] ;
double fact = 1.0 ;