aboutsummaryrefslogtreecommitdiff
path: root/miscutils/flashcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/flashcp.c')
-rw-r--r--miscutils/flashcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/flashcp.c b/miscutils/flashcp.c
index d4ac62df4..858cee194 100644
--- a/miscutils/flashcp.c
+++ b/miscutils/flashcp.c
@@ -14,6 +14,7 @@
14//config: This utility is used to copy images into a MTD device. 14//config: This utility is used to copy images into a MTD device.
15 15
16//applet:IF_FLASHCP(APPLET(flashcp, BB_DIR_USR_SBIN, BB_SUID_DROP)) 16//applet:IF_FLASHCP(APPLET(flashcp, BB_DIR_USR_SBIN, BB_SUID_DROP))
17/* not NOEXEC: if flash operation stalls, use less memory in "hung" process */
17 18
18//kbuild:lib-$(CONFIG_FLASHCP) += flashcp.o 19//kbuild:lib-$(CONFIG_FLASHCP) += flashcp.o
19 20
@@ -68,8 +69,7 @@ int flashcp_main(int argc UNUSED_PARAM, char **argv)
68 RESERVE_CONFIG_UBUFFER(buf, BUFSIZE); 69 RESERVE_CONFIG_UBUFFER(buf, BUFSIZE);
69 RESERVE_CONFIG_UBUFFER(buf2, BUFSIZE); 70 RESERVE_CONFIG_UBUFFER(buf2, BUFSIZE);
70 71
71 opt_complementary = "=2"; /* exactly 2 non-option args: file, dev */ 72 /*opts =*/ getopt32(argv, "^" "v" "\0" "=2"/*exactly 2 non-option args: file,dev*/);
72 /*opts =*/ getopt32(argv, "v");
73 argv += optind; 73 argv += optind;
74// filename = *argv++; 74// filename = *argv++;
75// devicename = *argv; 75// devicename = *argv;