aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-02-25 01:54:04 +0100
committeraxtloss <axtlos@getcryst.al>2024-02-25 01:54:04 +0100
commitcab4804979e8c60cc8ccc0612b759d2c3637539f (patch)
treee2c4e90de2c73defd37d86f78b19423f5fa653be /core
parente6c12b02674a04ca34e27b46f6ca3261fca3c677 (diff)
downloadfsverify-cab4804979e8c60cc8ccc0612b759d2c3637539f.tar.gz
fsverify-cab4804979e8c60cc8ccc0612b759d2c3637539f.tar.bz2
Add initial fswarn and BVG code
Diffstat (limited to 'core')
-rw-r--r--core/storage.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/storage.go b/core/storage.go
index 8628e8d..182e1ec 100644
--- a/core/storage.go
+++ b/core/storage.go
@@ -45,11 +45,11 @@ func parseUnitSpec(size []byte) int {
case 1:
return 1000
case 2:
- return 1000000
+ return 1000 * 1000
case 3:
- return 1000000000
+ return 1000 * 1000 * 10000
case 4:
- return 1000000000000
+ return 100000000000000
case 5:
return 1000000000000000
default: