diff options
author | Doug Zongker | 2009-10-06 16:41:38 -0500 |
---|---|---|
committer | Doug Zongker | 2009-10-06 16:44:54 -0500 |
commit | 988500b615de24455e1fee69e72055bb1dca9c86 (patch) | |
tree | 805fc4e7986e3a63ebe1de96f5d66dd3fa1f6549 /recovery.c | |
parent | f93d8166ef4c06f6ad71293ffa8a4ce469df4fa5 (diff) | |
download | platform-bootable-recovery-988500b615de24455e1fee69e72055bb1dca9c86.tar.gz platform-bootable-recovery-988500b615de24455e1fee69e72055bb1dca9c86.tar.xz platform-bootable-recovery-988500b615de24455e1fee69e72055bb1dca9c86.zip |
add terminator to recovery's getopt_long options array
http://b/2170691 - recovery argument parsing is broken
Diffstat (limited to 'recovery.c')
-rw-r--r-- | recovery.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ static const struct option OPTIONS[] = { | |||
43 | { "update_package", required_argument, NULL, 'u' }, | 43 | { "update_package", required_argument, NULL, 'u' }, |
44 | { "wipe_data", no_argument, NULL, 'w' }, | 44 | { "wipe_data", no_argument, NULL, 'w' }, |
45 | { "wipe_cache", no_argument, NULL, 'c' }, | 45 | { "wipe_cache", no_argument, NULL, 'c' }, |
46 | { NULL, 0, NULL, 0 }, | ||
46 | }; | 47 | }; |
47 | 48 | ||
48 | static const char *COMMAND_FILE = "CACHE:recovery/command"; | 49 | static const char *COMMAND_FILE = "CACHE:recovery/command"; |