Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ipf/dist/lib PRIu64 is not the right format str...
details: https://anonhg.NetBSD.org/src/rev/6c13afc6059b
branches: trunk
changeset: 778417:6c13afc6059b
user: martin <martin%NetBSD.org@localhost>
date: Sun Mar 25 09:50:45 2012 +0000
description:
PRIu64 is not the right format string for unsigned long long.
diffstat:
external/bsd/ipf/dist/lib/printaps.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e174498e771b -r 6c13afc6059b external/bsd/ipf/dist/lib/printaps.c
--- a/external/bsd/ipf/dist/lib/printaps.c Sun Mar 25 09:15:20 2012 +0000
+++ b/external/bsd/ipf/dist/lib/printaps.c Sun Mar 25 09:50:45 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: printaps.c,v 1.1.1.1 2012/03/23 21:20:09 christos Exp $ */
+/* $NetBSD: printaps.c,v 1.2 2012/03/25 09:50:45 martin Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -35,7 +35,7 @@
PRINTF("\tproxy %s/%d use %d flags %x\n", apr.apr_label,
apr.apr_p, apr.apr_ref, apr.apr_flags);
#ifdef USE_QUAD_T
- PRINTF("%"PRIu64" pkts %"PRIu64"", (unsigned long long)ap.aps_bytes,
+ PRINTF("%llu pkts %llu", (unsigned long long)ap.aps_bytes,
(unsigned long long)ap.aps_pkts);
#else
PRINTF("%lu pkts %lu", ap.aps_bytes, ap.aps_pkts);
Home |
Main Index |
Thread Index |
Old Index