From 4c6aca75da5e9f66f18b0e5ed584ca14b374fda6 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 12 Feb 2019 17:29:03 +0100 Subject: [PATCH] update VILLAScommon submodule --- common | 2 +- lib/memory.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */