Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dist/ipf/netinet Use %zu for size_t in debugging printf.
details: https://anonhg.NetBSD.org/src/rev/a89888a6b59f
branches: trunk
changeset: 762925:a89888a6b59f
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Mar 05 21:51:17 2011 +0000
description:
Use %zu for size_t in debugging printf.
diffstat:
sys/dist/ipf/netinet/ip_rcmd_pxy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5f5b24c8c6cb -r a89888a6b59f sys/dist/ipf/netinet/ip_rcmd_pxy.c
--- a/sys/dist/ipf/netinet/ip_rcmd_pxy.c Sat Mar 05 21:43:38 2011 +0000
+++ b/sys/dist/ipf/netinet/ip_rcmd_pxy.c Sat Mar 05 21:51:17 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_rcmd_pxy.c,v 1.11 2009/08/19 08:36:12 darrenr Exp $ */
+/* $NetBSD: ip_rcmd_pxy.c,v 1.12 2011/03/05 21:51:17 jakllsch Exp $ */
/*
* Copyright (C) 1998-2003 by Darren Reed
@@ -12,7 +12,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: ip_rcmd_pxy.c,v 1.11 2009/08/19 08:36:12 darrenr Exp $");
+__KERNEL_RCSID(1, "$NetBSD: ip_rcmd_pxy.c,v 1.12 2011/03/05 21:51:17 jakllsch Exp $");
#define IPF_RCMD_PROXY
@@ -71,7 +71,7 @@
KMALLOCS(aps->aps_data, u_32_t *, sizeof(u_32_t));
if (aps->aps_data == NULL) {
#ifdef IP_RCMD_PROXY_DEBUG
- printf("ippr_rcmd_new:KMALLOCS(%d) failed\n", sizeof(u_32_t));
+ printf("ippr_rcmd_new:KMALLOCS(%zu) failed\n", sizeof(u_32_t));
#endif
return -1;
}
Home |
Main Index |
Thread Index |
Old Index