← Commit list

a35dfe620

Denys Vlasenko
Denys Vlasenko
2010-09-06
FAILED Duration: 274s

Subject

blockdev: make "blockdev --rereadpt /dev/sda EXTRA_ARG" complain. +6 bytes.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/blockdev.c+1 -1
@@ -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);