Module Name: src Committed By: martin Date: Tue Jan 31 09:06:12 UTC 2012
Modified Files: src/dist/ipf/tools: ipftest.c Log Message: More printf format fixes To generate a diff of this commit: cvs rdiff -u -r1.1.1.7 -r1.2 src/dist/ipf/tools/ipftest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/dist/ipf/tools/ipftest.c diff -u src/dist/ipf/tools/ipftest.c:1.1.1.7 src/dist/ipf/tools/ipftest.c:1.2 --- src/dist/ipf/tools/ipftest.c:1.1.1.7 Mon Jan 30 16:03:47 2012 +++ src/dist/ipf/tools/ipftest.c Tue Jan 31 09:06:12 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: ipftest.c,v 1.1.1.7 2012/01/30 16:03:47 darrenr Exp $ */ +/* $NetBSD: ipftest.c,v 1.2 2012/01/31 09:06:12 martin Exp $ */ /* * Copyright (C) 2012 by Darren Reed. @@ -736,7 +736,7 @@ void dumprules(rulehead) for (fr = rulehead; fr != NULL; fr = fr->fr_next) { #ifdef USE_QUAD_T - printf("%"PRIu64" ",(unsigned long long)fr->fr_hits); + printf("%llu ",(unsigned long long)fr->fr_hits); #else printf("%ld ", fr->fr_hits); #endif