trusty: Fix apploader short option
Fix a typo in one of the short command line options for the Trusty application loader. The typo caused the tool to incorrectly accept the -s short option and ignore it, but not accept the -D option which is the short version of --dev. Bug: 115420908 Test: m Change-Id: I9d03f8dd20adedbd820621ae8f9b4d13137041ed
This commit is contained in:
parent
3e01373d3a
commit
909beaeae3
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ constexpr const char kTrustyDefaultDeviceName[] = "/dev/trusty-ipc-dev0";
|
|||
|
||||
static const char* dev_name = kTrustyDefaultDeviceName;
|
||||
|
||||
static const char* _sopts = "hs";
|
||||
static const char* _sopts = "hD:";
|
||||
static const struct option _lopts[] = {
|
||||
{"help", no_argument, 0, 'h'},
|
||||
{"dev", required_argument, 0, 'D'},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue