diff --git a/src/detection/swap/swap_apple.c b/src/detection/swap/swap_apple.c index 21fa866d2..d53148e7b 100644 --- a/src/detection/swap/swap_apple.c +++ b/src/detection/swap/swap_apple.c @@ -11,9 +11,11 @@ const char* ffDetectSwap(FFlist* result) { } if (xsw.xsu_total == 0) { - if (!__builtin_available(macOS 26.0, *)) { - if (ffSysctlGetInt("vm.compressor_mode", 4) <= 2) { // No longer available in macOS 26.0 - return NULL; // Swap is disabled + if (__builtin_available(macOS 26.0, *)) { + // "vm.compressor_mode" no longer exists in macOS 26.0 + } else { + if (ffSysctlGetInt("vm.compressor_mode", 4) <= 2) { + return NULL; // Swap is disabled } } }