revision 799:8aeb9906d7b9
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 799:8aeb9906d7b9 |
parent | 798:eb5c0d1863cd |
child | 800:0d1be79c9b33 |
author | nkeynes |
date | Mon Aug 04 05:58:53 2008 +0000 (13 years ago) |
Fix typo/array overrun
1.1 --- a/src/drivers/osx_iokit.c Sun Aug 03 02:55:27 2008 +00001.2 +++ b/src/drivers/osx_iokit.c Mon Aug 04 05:58:53 2008 +00001.3 @@ -340,7 +340,7 @@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]);
.