diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-02-13 18:39:54 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-02-13 18:39:54 +0100 |
commit | 22aa75829c56d06e8c4964ce84553af5d053664a (patch) | |
tree | f11b0a02aea44458a9fec681ac1c3a8f79895883 | |
parent | 275658627fdedede0475a51a01145b466cf55d38 (diff) | |
download | conntrack-tools-22aa75829c56d06e8c4964ce84553af5d053664a.tar.gz conntrack-tools-22aa75829c56d06e8c4964ce84553af5d053664a.zip |
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 <pablo@netfilter.org>
-rw-r--r-- | src/cache_iterators.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |