commit | 3111fded27a2b000d23e1f3081c9e22bda158760 | [log] [tgz] |
---|---|---|
author | Daniel Kurtz <djkurtz@chromium.org> | Wed Oct 12 09:47:38 2011 |
committer | Daniel Kurtz <djkurtz@chromium.org> | Wed Oct 12 09:52:07 2011 |
tree | 9c576820956a2236fe52fec1db64f66064492c14 | |
parent | ed7933896935028e13915351892256d4fade9c5d [diff] |
Fix segfault when parsing arguments with no filename When user doesn't specify a filename, or specifies '-h' first, new_fw_image won't be set. BUG=chromium-os:21568 TEST=emerge-${B} cypress-tools builds clean On device: cyapa_fw_update -h => prints help; no Segmentation fault Change-Id: Iab8043587c99dede9a3a338175ebc61025fe2410