commit | f51886bbc4fede2b58f8bdcac501756eea229588 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Feb 14 23:25:23 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Feb 14 23:25:23 2018 +0000 |
tree | dfbdf7268e7f5426247a50ab02fcb04bbf45eeec | |
parent | 008576080e546e83b36b4cdeff0b550ab64b304a [diff] | |
parent | b81e185907ba597d6e3840c3a9506efc8c2dc03a [diff] |
Merge "ion_test.c: Fix c/p error in arg parse."
diff --git a/libion/ion_test.c b/libion/ion_test.c index b7d5583..f3874ae 100644 --- a/libion/ion_test.c +++ b/libion/ion_test.c
@@ -250,7 +250,7 @@ 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);