Tue May 5 12:48:31 2009 UTC ()
buildfix: use %d for BOOTP_SIZE_(MIN,MAX).
Makes i386 ALL kernel build again.


(cegger)
diff -r1.46 -r1.47 src/sys/nfs/nfs_bootdhcp.c

cvs diff -r1.46 -r1.47 src/sys/nfs/nfs_bootdhcp.c (expand / switch to context diff)
--- src/sys/nfs/nfs_bootdhcp.c 2009/05/02 21:06:51 1.46
+++ src/sys/nfs/nfs_bootdhcp.c 2009/05/05 12:48:31 1.47
@@ -1,4 +1,4 @@
-/*	$NetBSD: nfs_bootdhcp.c,v 1.46 2009/05/02 21:06:51 manu Exp $	*/
+/*	$NetBSD: nfs_bootdhcp.c,v 1.47 2009/05/05 12:48:31 cegger Exp $	*/
 
 /*-
  * Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_bootdhcp.c,v 1.46 2009/05/02 21:06:51 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_bootdhcp.c,v 1.47 2009/05/05 12:48:31 cegger Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_nfs_boot.h"
@@ -325,12 +325,12 @@
 	 * Is this a valid reply?
 	 */
 	if (m->m_pkthdr.len < BOOTP_SIZE_MIN) {
-		DPRINTF(("bootpcheck: short packet %d < %ld\n", 
+		DPRINTF(("bootpcheck: short packet %d < %d\n", 
 		    m->m_pkthdr.len, BOOTP_SIZE_MIN));
 		return (-1);
 	}
 	if (m->m_pkthdr.len > BOOTP_SIZE_MAX) {
-		DPRINTF(("Bootpcheck: long packet %d > %ld\n", 
+		DPRINTF(("Bootpcheck: long packet %d > %d\n", 
 		   m->m_pkthdr.len, BOOTP_SIZE_MAX));
 		return (-1);
 	}