From 6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Fri, 30 Mar 2012 12:53:54 -0500 Subject: qtest: fix 32-bit build time_t appears to be an unsigned long so use %ld. Reported-by: Stefan Weil Signed-off-by: Anthony Liguori --- qtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtest.c') diff --git a/qtest.c b/qtest.c index 53e2b7942c..cd7186c39c 100644 --- a/qtest.c +++ b/qtest.c @@ -34,7 +34,7 @@ static int irq_levels[MAX_IRQ]; static struct timeval start_time; static bool qtest_opened; -#define FMT_timeval "%" PRId64 ".%06" PRId64 +#define FMT_timeval "%ld.%06ld" /** * QTest Protocol -- cgit v1.2.1