Browse Source

Merge pull request #431 from kanoi/master

usb_applog separate amt display
nfactor-troky
kanoi 12 years ago
parent
commit
cea88268be
  1. 2
      usbutils.c

2
usbutils.c

@ -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…
Cancel
Save