Module Name:    src
Committed By:   jakllsch
Date:           Sat Mar  5 21:51:18 UTC 2011

Modified Files:
        src/sys/dist/ipf/netinet: ip_rcmd_pxy.c

Log Message:
Use %zu for size_t in debugging printf.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dist/ipf/netinet/ip_rcmd_pxy.c

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

Modified files:

Index: src/sys/dist/ipf/netinet/ip_rcmd_pxy.c
diff -u src/sys/dist/ipf/netinet/ip_rcmd_pxy.c:1.11 src/sys/dist/ipf/netinet/ip_rcmd_pxy.c:1.12
--- src/sys/dist/ipf/netinet/ip_rcmd_pxy.c:1.11	Wed Aug 19 08:36:12 2009
+++ src/sys/dist/ipf/netinet/ip_rcmd_pxy.c	Sat Mar  5 21:51:17 2011
@@ -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;
 	}

Reply via email to