summaryrefslogtreecommitdiff
path: root/btrfstune.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-08-19 16:20:36 +0200
committerDavid Sterba <dsterba@suse.com>2016-08-24 14:36:54 +0200
commitc11bd9cfd2d4fc6501c52da968b64c6806b968a7 (patch)
tree48bec95614a554b196bcd6af381121913dbcbfe1 /btrfstune.c
parent4241e27ee1c6739b5442f157bf167f050d546582 (diff)
btrfs-progs: pass OPEN_CTREE flags as unsigned
As we're passing a set of flags, the enum type is not appropriate. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
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 ac559fb9..93b25e8c 100644
--- a/btrfstune.c
+++ b/btrfstune.c
@@ -389,7 +389,7 @@ static void print_usage(void)
int main(int argc, char *argv[])
{
struct btrfs_root *root;
- enum btrfs_open_ctree_flags ctree_flags = OPEN_CTREE_WRITES;
+ unsigned ctree_flags = OPEN_CTREE_WRITES;
int success = 0;
int total = 0;
int seeding_flag = 0;