diff options
-rw-r--r-- | util-linux/blockdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/blockdev.c b/util-linux/blockdev.c index 9b5d86d00..a780d2238 100644 --- a/util-linux/blockdev.c +++ b/util-linux/blockdev.c @@ -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); |