time_t appears to be an unsigned long so use %ld. Reported-by: Stefan Weil <w...@mail.berlios.de> Signed-off-by: Anthony Liguori <aligu...@us.ibm.com> --- qtest.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qtest.c b/qtest.c index 53e2b79..cd7186c 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 -- 1.7.5.4