diff options
| author | WrathofthePast <[email protected]> | 2022-02-16 17:21:29 -0500 |
|---|---|---|
| committer | WrathofthePast <[email protected]> | 2022-02-16 17:21:29 -0500 |
| commit | 12edcab514aafd6ac39696993efd757e8e2291d1 (patch) | |
| tree | 612f2180ee3f8022460e94f1fc9fb7bf41ac082b /src/lib/razerdevice.c | |
| parent | a0d55638d16c49505ecb123ee098b78ac58d41fd (diff) | |
| download | librazermacos-12edcab514aafd6ac39696993efd757e8e2291d1.tar.xz librazermacos-12edcab514aafd6ac39696993efd757e8e2291d1.zip | |
Update razerdevice.c
Diffstat (limited to 'src/lib/razerdevice.c')
| -rwxr-xr-x | src/lib/razerdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/razerdevice.c b/src/lib/razerdevice.c index 3933b13..4d5d1ef 100755 --- a/src/lib/razerdevice.c +++ b/src/lib/razerdevice.c @@ -238,7 +238,7 @@ IOUSBDeviceInterface **getRazerUSBDeviceInterface(int type) io_iterator_t iter; kern_return_t kReturn = - IOServiceGetMatchingServices(kIOMainPortDefault, matchingDict, &iter); + IOServiceGetMatchingServices(MACH_PORT_NULL, matchingDict, &iter); if (kReturn != kIOReturnSuccess) { return NULL; @@ -384,7 +384,7 @@ RazerDevices getAllRazerDevices() io_iterator_t iter; kern_return_t kReturn = - IOServiceGetMatchingServices(kIOMainPortDefault, matchingDict, &iter); + IOServiceGetMatchingServices(MACH_PORT_NULL, matchingDict, &iter); if (kReturn != kIOReturnSuccess) { return allDevices; |
