ion_test.c: Fix c/p error in arg parse.
Bug/Test: N/A Change-Id: Iad1ac3f057ed153429780242e138cec58e8ee764
This commit is contained in:
parent
c415d00fbe
commit
b81e185907
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ int main(int argc, char* argv[]) {
|
|||
case 'p':
|
||||
prot = 0;
|
||||
prot |= strstr(optarg, "MAP_PRIVATE") ? MAP_PRIVATE : 0;
|
||||
prot |= strstr(optarg, "MAP_SHARED") ? MAP_PRIVATE : 0;
|
||||
prot |= strstr(optarg, "MAP_SHARED") ? MAP_SHARED : 0;
|
||||
break;
|
||||
case 'f':
|
||||
alloc_flags = atol(optarg);
|
||||
|
|
Loading…
Reference in a new issue