diff options
Diffstat (limited to 'libion/ion_test.c')
-rw-r--r-- | libion/ion_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libion/ion_test.c b/libion/ion_test.c index b7d558354..f3874aefb 100644 --- a/libion/ion_test.c +++ b/libion/ion_test.c @@ -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); |