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

Bug/Test: N/A

Change-Id: Iad1ac3f057ed153429780242e138cec58e8ee764
This commit is contained in:
Steven Moreland 2018-02-14 13:11:11 -08:00
parent c415d00fbe
commit b81e185907

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