Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/miscutils/raidautorun.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/miscutils/raidautorun.c
r1765 r2725 3 3 * raidautorun implementation for busybox 4 4 * 5 * Copyright (C) 2006 Bernhard Fischer5 * Copyright (C) 2006 Bernhard Reutner-Fischer 6 6 * 7 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 8 * 9 9 */ … … 14 14 #include <linux/raid/md_u.h> 15 15 16 int raidautorun_main(int argc, char **argv) ;17 int raidautorun_main(int argc , char **argv)16 int raidautorun_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 17 int raidautorun_main(int argc UNUSED_PARAM, char **argv) 18 18 { 19 if (argc != 2) 20 bb_show_usage(); 21 22 xioctl(xopen(argv[1], O_RDONLY), RAID_AUTORUN, NULL); 23 19 xioctl(xopen(single_argv(argv), O_RDONLY), RAID_AUTORUN, NULL); 24 20 return EXIT_SUCCESS; 25 21 }
Note:
See TracChangeset
for help on using the changeset viewer.