Module Name:    src
Committed By:   cegger
Date:           Tue May  5 12:48:31 UTC 2009

Modified Files:
        src/sys/nfs: nfs_bootdhcp.c

Log Message:
buildfix: use %d for BOOTP_SIZE_(MIN,MAX).
Makes i386 ALL kernel build again.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/nfs/nfs_bootdhcp.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/nfs/nfs_bootdhcp.c
diff -u src/sys/nfs/nfs_bootdhcp.c:1.46 src/sys/nfs/nfs_bootdhcp.c:1.47
--- src/sys/nfs/nfs_bootdhcp.c:1.46	Sat May  2 21:06:51 2009
+++ src/sys/nfs/nfs_bootdhcp.c	Tue May  5 12:48:31 2009
@@ -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);
 	}

Reply via email to