commit | 6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Fri Mar 30 12:53:54 2012 -0500 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Mar 30 12:56:10 2012 -0500 |
tree | 3133a8b9c21a7ccbb42dbaaec57e627e6cda4ed4 | |
parent | d2a16f74f22b4a8d5f8a66d568e729a943136872 [diff] |
qtest: fix 32-bit build time_t appears to be an unsigned long so use %ld. Reported-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/qtest.c b/qtest.c index 53e2b79..cd7186c 100644 --- a/qtest.c +++ b/qtest.c
@@ -34,7 +34,7 @@ static struct timeval start_time; static bool qtest_opened; -#define FMT_timeval "%" PRId64 ".%06" PRId64 +#define FMT_timeval "%ld.%06ld" /** * QTest Protocol