summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/on-fault-limit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/vm/on-fault-limit.c')
-rw-r--r--tools/testing/selftests/vm/on-fault-limit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/vm/on-fault-limit.c b/tools/testing/selftests/vm/on-fault-limit.c
index 245acccce42d..0ae458f32fdb 100644
--- a/tools/testing/selftests/vm/on-fault-limit.c
+++ b/tools/testing/selftests/vm/on-fault-limit.c
@@ -20,7 +20,7 @@ static int test_limit(void)
return ret;
}
- if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) {
+ if (mlockall(MCL_ONFAULT | MCL_FUTURE)) {
perror("mlockall");
return ret;
}