commit | 6d8268e34831e65db80f5d16789537b393f26eda | [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 | ab793f506c48ef4036bb66983b7840c53e3f523e [diff] | |
parent | 9d3cecff56ab9284215eeced8ea46ae24d6b56aa [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);