From: Paul Floyd Date: Wed, 28 Feb 2024 19:01:05 +0000 (+0100) Subject: FreeBSD regtest: fix value of CLOSE_RANGE_CLOEXEC in close_range test X-Git-Tag: VALGRIND_3_23_0~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce66861f4b5c454de71c25c1ba89e7a13aaf962f;p=thirdparty%2Fvalgrind.git FreeBSD regtest: fix value of CLOSE_RANGE_CLOEXEC in close_range test Spotted by Mark Wielaard, thanks. --- diff --git a/memcheck/tests/freebsd/close_range.c b/memcheck/tests/freebsd/close_range.c index 1821648b7..ba1adf9b5 100644 --- a/memcheck/tests/freebsd/close_range.c +++ b/memcheck/tests/freebsd/close_range.c @@ -12,7 +12,7 @@ * And then CLOSE_RANGE_CLOEXEC added to 13 but not backported * so 12 has close_range but not CLOSE_RANGE_CLOEXEC */ #if !defined(CLOSE_RANGE_CLOEXEC) -#define CLOSE_RANGE_CLOEXEC 1 +#define CLOSE_RANGE_CLOEXEC 1<<2 #endif int main(void)