Merge "ion_test.c: Fix c/p error in arg parse."

This commit is contained in:
Treehugger Robot 2018-02-14 23:25:23 +00:00 committed by Gerrit Code Review
commit f51886bbc4

View file

@ -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);