Merge "ion_test.c: Fix c/p error in arg parse."
This commit is contained in:
commit
f51886bbc4
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