commit | 988500b615de24455e1fee69e72055bb1dca9c86 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Tue Oct 06 14:41:38 2009 -0700 |
committer | Doug Zongker <dougz@android.com> | Tue Oct 06 14:44:54 2009 -0700 |
tree | 805fc4e7986e3a63ebe1de96f5d66dd3fa1f6549 | |
parent | f93d8166ef4c06f6ad71293ffa8a4ce469df4fa5 [diff] [blame] |
add terminator to recovery's getopt_long options array http://b/2170691 - recovery argument parsing is broken
diff --git a/recovery.c b/recovery.c index 3fabd5b..5b3f6e5 100644 --- a/recovery.c +++ b/recovery.c
@@ -43,6 +43,7 @@ { "update_package", required_argument, NULL, 'u' }, { "wipe_data", no_argument, NULL, 'w' }, { "wipe_cache", no_argument, NULL, 'c' }, + { NULL, 0, NULL, 0 }, }; static const char *COMMAND_FILE = "CACHE:recovery/command";