diff --git a/common b/common index 40ac360c5..3b1c61e37 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 40ac360c5f00a923c77cebf9b016565863e5bf3d +Subproject commit 3b1c61e3700f5d8b4e207f504aef8dc3d5019067 diff --git a/lib/memory.c b/lib/memory.c index 2d3fe823b..a2f0b58d6 100644 --- a/lib/memory.c +++ b/lib/memory.c @@ -108,7 +108,7 @@ out: #ifdef _POSIX_MEMLOCK /* Lock all current and future memory allocations */ ret = mlockall(MCL_CURRENT | MCL_FUTURE); - if (ret) { + if (ret) return -1; #endif /* _POSIX_MEMLOCK */