PR/49281: John D. Baker: fix debugging format

XXX: pullup 7
This commit is contained in:
christos 2014-10-14 01:04:39 +00:00
parent ecaa2e9847
commit 2a70d96fc0
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ppbus_base.c,v 1.19 2014/07/13 17:12:23 dholland Exp $ */
/* $NetBSD: ppbus_base.c,v 1.20 2014/10/14 01:04:39 christos Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999 Nicolas Souchu
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ppbus_base.c,v 1.19 2014/07/13 17:12:23 dholland Exp $");
__KERNEL_RCSID(0, "$NetBSD: ppbus_base.c,v 1.20 2014/10/14 01:04:39 christos Exp $");
#include "opt_ppbus_1284.h"
#include "opt_ppbus.h"
@ -537,7 +537,7 @@ ppbus_pnp_detect(device_t dev)
}
#ifdef DEBUG_1284
printf("%s: <PnP> %d characters: ", device_xname(dev), len);
printf("%s: <PnP> %zu characters: ", device_xname(dev), len);
for (i = 0; i < len; i++)
printf("%c(0x%x) ", str[i], str[i]);
printf("\n");