Loading...
--- xnu/xnu-3248.50.21/iokit/Kernel/IOEventSource.cpp
+++ xnu/xnu-2050.18.24/iokit/Kernel/IOEventSource.cpp
@@ -114,7 +114,7 @@
int IOEventSource::sleepGate(void *event, UInt32 type)
{
- int res;
+ bool res;
IOStatisticsOpenGate();
res = workLoop->sleepGate(event, type);
IOStatisticsCloseGate();
@@ -123,7 +123,7 @@
int IOEventSource::sleepGate(void *event, AbsoluteTime deadline, UInt32 type)
{
- int res;
+ bool res;
IOStatisticsOpenGate();
res = workLoop->sleepGate(event, deadline, type);
IOStatisticsCloseGate();