diff options
Diffstat (limited to 'btrfs-vol.c')
-rw-r--r-- | btrfs-vol.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/btrfs-vol.c b/btrfs-vol.c index 4ed799d2..f573023a 100644 --- a/btrfs-vol.c +++ b/btrfs-vol.c @@ -143,7 +143,9 @@ int main(int ac, char **av) exit(1); } if (cmd == BTRFS_IOC_ADD_DEV) { - ret = btrfs_prepare_device(devfd, device, 1, &dev_block_count); + int mixed = 0; + + ret = btrfs_prepare_device(devfd, device, 1, &dev_block_count, &mixed); if (ret) { fprintf(stderr, "Unable to init %s\n", device); exit(1); |