blockdev: make "blockdev --rereadpt /dev/sda EXTRA_ARG" complain. +6 bytes.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
3d4a8f8646
commit
a35dfe6200
@ -142,7 +142,7 @@ int blockdev_main(int argc, char **argv)
|
||||
lu = llu;
|
||||
iarg = llu;
|
||||
|
||||
if (!*++argv)
|
||||
if (!*++argv || argv[1])
|
||||
bb_show_usage();
|
||||
fd = xopen(*argv, O_RDONLY);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user