]> sigrok.org Git - libsigrok.git/commitdiff
fx2lafw: Fix int64_t printing.
authorUwe Hermann <redacted>
Tue, 18 Dec 2012 00:30:34 +0000 (01:30 +0100)
committerUwe Hermann <redacted>
Tue, 18 Dec 2012 00:30:34 +0000 (01:30 +0100)
hardware/fx2lafw/fx2lafw.c

index 488365cd7ff486aa5fe8ce9595c046da5d383e17..3bc8eabbae83630088bbb4e00dbcc03ef47ca0cf 100644 (file)
@@ -538,8 +538,7 @@ static int hw_dev_open(struct sr_dev_inst *sdi)
                        sr_err("Device failed to renumerate.");
                        return SR_ERR;
                }
-               sr_info("Device came back after %dms.",
-                       timediff_ms);
+               sr_info("Device came back after %" PRIi64 "ms.", timediff_ms);
        } else {
                sr_info("Firmware upload was not needed.");
                ret = fx2lafw_dev_open(sdi);