summaryrefslogtreecommitdiff
path: root/larch/fsck.py
diff options
context:
space:
mode:
Diffstat (limited to 'larch/fsck.py')
-rwxr-xr-xlarch/fsck.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/larch/fsck.py b/larch/fsck.py
index e9d0f6e..7ca0111 100755
--- a/larch/fsck.py
+++ b/larch/fsck.py
@@ -106,7 +106,8 @@ class CheckRefcounts(WorkItem):
refcount,
self.fsck.refcounts[node_id]))
if self.fsck.fix:
- self.fsck.forest.node_store.set_refcount(node_id, refcount)
+ self.fsck.forest.node_store.set_refcount(
+ node_id, self.fsck.refcounts[node_id])
class CommitForest(WorkItem):