aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9b5d86d00..a780d2238 100644
--- a/util-linux/blockdev.c
+++ b/util-linux/blockdev.c
@@ -142,7 +142,7 @@ int blockdev_main(int argc, char **argv)
142 lu = llu; 142 lu = llu;
143 iarg = llu; 143 iarg = llu;
144 144
145 if (!*++argv) 145 if (!*++argv || argv[1])
146 bb_show_usage(); 146 bb_show_usage();
147 fd = xopen(*argv, O_RDONLY); 147 fd = xopen(*argv, O_RDONLY);
148 148