diff --git a/btrfs_cmds.c b/btrfs_cmds.c index 7d2fd8c0..d099847a 100644 --- a/btrfs_cmds.c +++ b/btrfs_cmds.c @@ -372,7 +372,7 @@ int do_clone(int argc, char **argv) return 1; } } - if (argc - optind != 2) { + if (argc - optind != 3) { fprintf(stderr, "Invalid arguments for subvolume snapshot\n"); free(argv); return 1;