- we take exactly one argument.

This commit is contained in:
Bernhard Reutner-Fischer 2006-10-24 20:06:55 +00:00
parent 7534e0834f
commit a481d87ff7

View File

@ -15,6 +15,9 @@
int raidautorun_main(int argc, char **argv)
{
if (argc != 2)
bb_show_usage();
if (ioctl(xopen(argv[1], O_RDONLY), RAID_AUTORUN, NULL) != 0) {
bb_perror_msg_and_die("ioctl");
}