Loading...
--- xnu/xnu-2050.22.13/libkern/c++/OSCollection.cpp
+++ xnu/xnu-3789.51.2/libkern/c++/OSCollection.cpp
@@ -62,11 +62,7 @@
{
if (fOptions & kImmutable)
{
-#if __LP64__
if (!(gIOKitDebug & kOSRegistryModsMode))
-#else
- if (gIOKitDebug & kOSRegistryModsMode)
-#endif
{
panic("Trying to change a collection in the registry");
}