diff options
-rw-r--r-- | src/libutil/file-descriptor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/file-descriptor.cc b/src/libutil/file-descriptor.cc index f95d7b321..8385ea402 100644 --- a/src/libutil/file-descriptor.cc +++ b/src/libutil/file-descriptor.cc @@ -228,7 +228,7 @@ void closeExtraFDs() auto closeRange = [](unsigned int first, unsigned int last, int flags) -> int { // musl does not have close_range as of 2024-08-10 // patch: https://www.openwall.com/lists/musl/2024/08/01/9 -#ifdef HAVE_CLOSE_RANGE +#if HAVE_CLOSE_RANGE return close_range(first, last, flags); #else return syscall(SYS_close_range, first, last, flags); |