Search
lxdream.org :: lxdream :: r799:8aeb9906d7b9
lxdream 0.9.1
released Jun 29
Download Now
changeset799:8aeb9906d7b9
parent798:eb5c0d1863cd
child800:0d1be79c9b33
authornkeynes
dateMon Aug 04 05:58:53 2008 +0000 (11 years ago)
Fix typo/array overrun
src/drivers/osx_iokit.c
1.1 --- a/src/drivers/osx_iokit.c Sun Aug 03 02:55:27 2008 +0000
1.2 +++ b/src/drivers/osx_iokit.c Mon Aug 04 05:58:53 2008 +0000
1.3 @@ -340,7 +340,7 @@
1.4
1.5 if( IOServiceAddMatchingNotification( notify_port, kIOFirstPublishNotification,
1.6 IOServiceMatching(kIOHIDDeviceKey),
1.7 - osx_hid_inserted, NULL, &iokit_iterators[4] ) != kIOReturnSuccess ) {
1.8 + osx_hid_inserted, NULL, &iokit_iterators[2] ) != kIOReturnSuccess ) {
1.9 ERROR( "IOServiceAddMatchingNotification failed" );
1.10 }
1.11 osx_hid_inserted(NULL, iokit_iterators[2]);
.