Skip to content

Commit a8a839e

Browse files
committed
10.11 compatibility.
1 parent 12d7fe0 commit a8a839e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/kern_patcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ void KernelPatcher::onKextSummariesUpdated() {
404404
}
405405
}
406406

407-
if (OSDecrementAtomic(&updateSummariesEntryCount) != 1) {
407+
if (getKernelVersion() >= KernelVersion::Sierra && OSDecrementAtomic(&updateSummariesEntryCount) != 1) {
408408
panic("onKextSummariesUpdated left another time");
409409
}
410410
}

0 commit comments

Comments
 (0)