src/haptic/darwin/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2547 3cfe0ae232c0
parent 2546 daf40497dcd4
child 2550 b5b8a7f4a965
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Tue Jul 22 11:40:43 2008 +0000
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Tue Jul 22 11:42:01 2008 +0000
     1.3 @@ -205,7 +205,7 @@
     1.4  
     1.5     hidProperties = usbProperties = 0;
     1.6  
     1.7 -   ret = IORegistryEntryCreateCFProperties(hidDevice, &hidProperties,
     1.8 +   ret = IORegistryEntryCreateCFProperties(dev, &hidProperties,
     1.9                                             kCFAllocatorDefault,
    1.10                                             kNilOptions);
    1.11     if ((ret != KERN_SUCCESS) || !hidProperties) {