[conntrack-tools] cache_iterators: fix wrong printf format in commit-time message

Pablo Neira netfilter-cvslog-bounces at lists.netfilter.org
Fri Feb 13 18:40:06 CET 2009


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=conntrack-tools.git;a=commit;h=22aa75829c56d06e8c4964ce84553af5d053664a
commit 22aa75829c56d06e8c4964ce84553af5d053664a
Author:     Pablo Neira Ayuso <pablo at netfilter.org>
AuthorDate: Fri Feb 13 18:39:54 2009 +0100
Commit:     Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Fri Feb 13 18:39:54 2009 +0100

    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 at netfilter.org>
       via  22aa75829c56d06e8c4964ce84553af5d053664a (commit)
      from  275658627fdedede0475a51a01145b466cf55d38 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 22aa75829c56d06e8c4964ce84553af5d053664a
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Fri Feb 13 18:39:54 2009 +0100

    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 at netfilter.org>

-----------------------------------------------------------------------

 src/cache_iterators.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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 at netfilter.org>

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);
 }
 



More information about the netfilter-cvslog mailing list