X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cmds-device.c;h=5c0040c4f2ab5c48f0d066e0c613f6a1f8f0a4e7;hb=1c40f6916be0b9469d4189c5e78c30af0bbd2a57;hp=7616c43014d37b061f7ff35bc45571fb8414fca2;hpb=eba0d8925c6811d35eca95cd9f83b15fff6f690d;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/cmds-device.c b/cmds-device.c index 7616c43..5c0040c 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -333,7 +333,7 @@ static int cmd_device_ready(int argc, char **argv) clean_args_no_options(argc, argv, cmd_device_ready_usage); - if (check_argc_min(argc - optind, 1)) + if (check_argc_exact(argc - optind, 1)) usage(cmd_device_ready_usage); fd = open("/dev/btrfs-control", O_RDWR);