Commit 6493554acbf3bb19affe89fa0eeb85954f500c37

Kano 2013-05-15T17:39:25

usb_applog separate amt display

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/usbutils.c b/usbutils.c
index f4efe61..79a4698 100644
--- a/usbutils.c
+++ b/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)
 		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,
                         usb_cmdname(cmd),
                         msg ? space : BLANK, msg ? msg : BLANK,