Module Name:    src
Committed By:   martin
Date:           Sun Jul 22 18:09:16 UTC 2012

Modified Files:
        src/external/bsd/ipf/dist/lib: printaps.c

Log Message:
Fix printf formats


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ipf/dist/lib/printaps.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/ipf/dist/lib/printaps.c
diff -u src/external/bsd/ipf/dist/lib/printaps.c:1.3 src/external/bsd/ipf/dist/lib/printaps.c:1.4
--- src/external/bsd/ipf/dist/lib/printaps.c:1.3	Sun Jul 22 14:27:36 2012
+++ src/external/bsd/ipf/dist/lib/printaps.c	Sun Jul 22 18:09:16 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: printaps.c,v 1.3 2012/07/22 14:27:36 darrenr Exp $	*/
+/*	$NetBSD: printaps.c,v 1.4 2012/07/22 18:09:16 martin Exp $	*/
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -36,8 +36,8 @@ printaps(aps, opts, proto)
 		apr.apr_p, apr.apr_ref, apr.apr_flags);
 #ifdef	USE_QUAD_T
 	PRINTF("\tbytes %"PRIu64" pkts %"PRIu64"",
-		(unsigned long long)ap.aps_bytes,
-		(unsigned long long)ap.aps_pkts);
+		(uint64_t)ap.aps_bytes,
+		(uint64_t)ap.aps_pkts);
 #else
 	PRINTF("\tbytes %lu pkts %lu", ap.aps_bytes, ap.aps_pkts);
 #endif

Reply via email to