From c0bf69c29b138d18ee9f542985664eeaeeb47a0a Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 18 Dec 2012 01:30:34 +0100 Subject: [PATCH] fx2lafw: Fix int64_t printing. --- hardware/fx2lafw/fx2lafw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hardware/fx2lafw/fx2lafw.c b/hardware/fx2lafw/fx2lafw.c index 488365cd..3bc8eabb 100644 --- a/hardware/fx2lafw/fx2lafw.c +++ b/hardware/fx2lafw/fx2lafw.c @@ -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);