Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/miscutils/flashcp.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/miscutils/flashcp.c
r2725 r3232 7 7 * Licensed under GPLv2, see file LICENSE in this source tree. 8 8 */ 9 10 //usage:#define flashcp_trivial_usage 11 //usage: "-v FILE MTD_DEVICE" 12 //usage:#define flashcp_full_usage "\n\n" 13 //usage: "Copy an image to MTD device\n" 14 //usage: "\n -v Verbose" 9 15 10 16 #include "libbb.h" … … 45 51 int i; 46 52 uoff_t erase_count; 47 unsigned opts;48 53 struct mtd_info_user mtd; 49 54 struct erase_info_user e; … … 54 59 55 60 opt_complementary = "=2"; /* exactly 2 non-option args: file, dev */ 56 opts =getopt32(argv, "v");61 /*opts =*/ getopt32(argv, "v"); 57 62 argv += optind; 58 63 // filename = *argv++;
Note:
See TracChangeset
for help on using the changeset viewer.