summaryrefslogtreecommitdiff
path: root/btrfstune.c
diff options
context:
space:
mode:
Diffstat (limited to 'btrfstune.c')
-rw-r--r--btrfstune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfstune.c b/btrfstune.c
index 1cf6a689..50724bae 100644
--- a/btrfstune.c
+++ b/btrfstune.c
@@ -148,7 +148,7 @@ int main(int argc, char *argv[])
return 1;
}
- root = open_ctree(device, 0, 1);
+ root = open_ctree(device, 0, OPEN_CTREE_WRITES);
if (!root) {
fprintf(stderr, "Open ctree failed\n");