trusty: tipc-test: Fix D argument
The D flag requires an argument so it should be followed by a colon in sopts. Adding the missing colon is necessary to prevent a segfault. Test: path/to/tipc-test -D VSOCK:200:1 Bug None Change-Id: I78119b7e42aba5d30b62d88ff5d94c01dbc2eb64
This commit is contained in:
parent
5a6ab7d869
commit
699faa849b
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ static const char *main_ctrl_name = "com.android.ipc-unittest.ctrl";
|
|||
static const char* receiver_name = "com.android.trusty.memref.receiver";
|
||||
static const size_t memref_chunk_size = 4096;
|
||||
|
||||
static const char* _sopts = "hsvDS:t:r:m:b:B:";
|
||||
static const char* _sopts = "hsvD:S:t:r:m:b:B:";
|
||||
/* clang-format off */
|
||||
static const struct option _lopts[] = {
|
||||
{"help", no_argument, 0, 'h'},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue