summaryrefslogtreecommitdiff
path: root/Backend.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-26 14:37:39 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-26 14:37:39 -0400
commit8bcdf42b99675d507813205f097ab7b64b30f514 (patch)
tree0c489557e80de0ae1dd86e6cc0ca102a3d67dc14 /Backend.hs
parentceb9593a9cbd39b00daf57ce52724eb40d85f1e0 (diff)
annex.diskreserve can be given in arbitrary units (ie "0.5 gigabytes")
Diffstat (limited to 'Backend.hs')
-rw-r--r--Backend.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend.hs b/Backend.hs
index 4b0095214..c0e93acc2 100644
--- a/Backend.hs
+++ b/Backend.hs
@@ -198,6 +198,6 @@ checkKeySize key = do
else do
dest <- moveBad key
warning $ "Bad file size (" ++
- compareSizes True size size' ++
+ compareSizes storageUnits True size size' ++
"); moved to " ++ dest
return False