aboutsummaryrefslogtreecommitdiffstats
path: root/btrfs-zero-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs-zero-log.c')
-rw-r--r--btrfs-zero-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-zero-log.c b/btrfs-zero-log.c
index 432adff..ab7f418 100644
--- a/btrfs-zero-log.c
+++ b/btrfs-zero-log.c
@@ -60,7 +60,7 @@ int main(int ac, char **av)
goto out;
}
- root = open_ctree(av[1], 0, 1);
+ root = open_ctree(av[1], 0, OPEN_CTREE_WRITES);
if (root == NULL)
return 1;