summaryrefslogtreecommitdiff
path: root/util-linux/blockdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/blockdev.c')
-rw-r--r--util-linux/blockdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/blockdev.c b/util-linux/blockdev.c
index 9b5d86d..a780d22 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);