summaryrefslogtreecommitdiff
path: root/Backend/WORM.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-13 15:40:12 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-13 15:40:12 -0400
commitdd573e70105706bd1a769f74af9c3006dab903d0 (patch)
treea7593b70c7aedb7ddea3b2165fe95aecee50d923 /Backend/WORM.hs
parentabebbcfd544953f3a2c9dab042368069fd2d916a (diff)
fsck bugfixes
Diffstat (limited to 'Backend/WORM.hs')
-rw-r--r--Backend/WORM.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/WORM.hs b/Backend/WORM.hs
index e53ec6de7..374989996 100644
--- a/Backend/WORM.hs
+++ b/Backend/WORM.hs
@@ -47,7 +47,7 @@ keyValue file = do
{- Extracts the file size from a key. -}
keySize :: Key -> FileOffset
-keySize key = read $ section !! 2
+keySize key = read $ section !! 1
where
section = split ":" (keyName key)