From 22aa75829c56d06e8c4964ce84553af5d053664a Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 13 Feb 2009 18:39:54 +0100 Subject: cache_iterators: fix wrong printf format in commit-time message This patch uses the appropriate printf format to display the commit time taken (it was using %llu instead of %lu). Signed-off-by: Pablo Neira Ayuso --- src/cache_iterators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache_iterators.c b/src/cache_iterators.c index e16a621..dfccc68 100644 --- a/src/cache_iterators.c +++ b/src/cache_iterators.c @@ -208,7 +208,7 @@ void cache_commit(struct cache *c) "committed", commit_fail); nfct_close(tmp.h); - dlog(LOG_NOTICE, "commit has taken %llu.%06llu seconds", + dlog(LOG_NOTICE, "commit has taken %lu.%06lu seconds", res.tv_sec, res.tv_usec); } -- cgit v1.2.3