Module Name: src Committed By: cegger Date: Wed May 6 05:34:12 UTC 2009
Modified Files: src/sys/nfs: nfs_bootdhcp.c Log Message: correct previous: use %zu for BOOTP_SIZE_(MIN,MAX). Pointed out by David Holland To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 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.47 src/sys/nfs/nfs_bootdhcp.c:1.48 --- src/sys/nfs/nfs_bootdhcp.c:1.47 Tue May 5 12:48:31 2009 +++ src/sys/nfs/nfs_bootdhcp.c Wed May 6 05:34:12 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_bootdhcp.c,v 1.47 2009/05/05 12:48:31 cegger Exp $ */ +/* $NetBSD: nfs_bootdhcp.c,v 1.48 2009/05/06 05:34:12 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.47 2009/05/05 12:48:31 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nfs_bootdhcp.c,v 1.48 2009/05/06 05:34:12 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 < %d\n", + DPRINTF(("bootpcheck: short packet %d < %zu\n", m->m_pkthdr.len, BOOTP_SIZE_MIN)); return (-1); } if (m->m_pkthdr.len > BOOTP_SIZE_MAX) { - DPRINTF(("Bootpcheck: long packet %d > %d\n", + DPRINTF(("Bootpcheck: long packet %d > %zu\n", m->m_pkthdr.len, BOOTP_SIZE_MAX)); return (-1); }