mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
usbutils correct applog typing
This commit is contained in:
parent
8f08a327ca
commit
56a45778f8
@ -1138,7 +1138,7 @@ static void cgminer_usb_unlock_bd(struct device_drv *drv, uint8_t bus_number, ui
|
||||
// Wait forever since we shoud be the one who has it
|
||||
if (semtimedop(sem, sops, 1, &timeout)) {
|
||||
applog(LOG_ERR,
|
||||
"SEM: %d USB failed to release '%s' err (%d) %s",
|
||||
"SEM: %s USB failed to release '%s' err (%d) %s",
|
||||
drv->dname, name, errno, strerror(errno));
|
||||
}
|
||||
|
||||
@ -1602,7 +1602,7 @@ void usb_detect(struct device_drv *drv, bool (*device_detect)(struct libusb_devi
|
||||
|
||||
count = libusb_get_device_list(NULL, &list);
|
||||
if (count < 0) {
|
||||
applog(LOG_DEBUG, "USB scan devices: failed, err %d", count);
|
||||
applog(LOG_DEBUG, "USB scan devices: failed, err %zd", count);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user