mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
a941ca4373
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
11 lines
397 B
Diff
11 lines
397 B
Diff
--- scangearmp2.orig/src/canon_mfp_tools.c 2023-03-08 14:07:54.261226941 +1300
|
|
+++ scangearmp2/src/canon_mfp_tools.c 2023-03-08 14:09:44.926237600 +1300
|
|
@@ -394,7 +394,7 @@
|
|
goto onErr;
|
|
}
|
|
/* search canon mfp */
|
|
- numdev = libusb_get_device_list(NULL, &g_devlist);
|
|
+ numdev = libusb_get_device_list(g_context, &g_devlist);
|
|
if((int)numdev == 0) {
|
|
err = CN_USB_WRITE_ERROR;
|
|
goto onErr;
|