mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 23:37:54 +00:00
usb_applog separate amt display
This commit is contained in:
parent
c4a8f47769
commit
6493554acb
@ -811,7 +811,7 @@ void usb_applog(struct cgpu_info *cgpu, enum usb_cmds cmd, char *msg, int amount
|
|||||||
if (!msg && amount == 0 && err == LIBUSB_SUCCESS)
|
if (!msg && amount == 0 && err == LIBUSB_SUCCESS)
|
||||||
msg = (char *)nodatareturned;
|
msg = (char *)nodatareturned;
|
||||||
|
|
||||||
applog(LOG_ERR, "%s%i: %s failed%s%s (err=%d amt%d)",
|
applog(LOG_ERR, "%s%i: %s failed%s%s (err=%d amt=%d)",
|
||||||
cgpu->drv->name, cgpu->device_id,
|
cgpu->drv->name, cgpu->device_id,
|
||||||
usb_cmdname(cmd),
|
usb_cmdname(cmd),
|
||||||
msg ? space : BLANK, msg ? msg : BLANK,
|
msg ? space : BLANK, msg ? msg : BLANK,
|
||||||
|
Loading…
Reference in New Issue
Block a user