projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs-progs: "device ready" accepts just one device
[platform/upstream/btrfs-progs.git]
/
cmds-device.c
diff --git
a/cmds-device.c
b/cmds-device.c
index
7616c43
..
5c0040c
100644
(file)
--- 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);