Search
lxdream.org :: lxdream/src/drivers/osx_iokit.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/osx_iokit.c
changeset 799:8aeb9906d7b9
prev759:f16975739abc
author nkeynes
date Mon Aug 04 05:58:53 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix typo/array overrun
file annotate diff log raw
1.1 --- a/src/drivers/osx_iokit.c Mon Jul 21 01:01:39 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]);
.