diff options
Diffstat (limited to 'cmds-device.c')
-rw-r--r-- | cmds-device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds-device.c b/cmds-device.c index 771856bf..4787aca1 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -107,7 +107,8 @@ static int cmd_add_dev(int argc, char **argv) continue; } - res = btrfs_prepare_device(devfd, argv[i], 1, &dev_block_count, &mixed); + res = btrfs_prepare_device(devfd, argv[i], 1, &dev_block_count, + 0, &mixed, 0); if (res) { fprintf(stderr, "ERROR: Unable to init '%s'\n", argv[i]); close(devfd); |