Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1930)

Unified Diff: vpd.c

Issue 6728023: fix the crash bug when specifying non-existed option. (Closed) Base URL: ssh://gitrw.chromium.org:9222/vpd.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpd.c
diff --git a/vpd.c b/vpd.c
index 11787ead340c9ef98591245a29af8c85ce895ba0..90aca8985f4331bc69846e188eaf6e7e57504a70 100644
--- a/vpd.c
+++ b/vpd.c
@@ -565,6 +565,7 @@ int main(int argc, char *argv[]) {
{"partition", 0, 0, 'i'},
{"list", 0, 0, 'l'},
{"overwrite", 0, 0, 'O'},
+ {0, 0, 0, 0}
};
char *filename = NULL;
int write_back_to_flash = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698