Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ppbus PR/49281: John D. Baker: fix debugging format



details:   https://anonhg.NetBSD.org/src/rev/cfede6934131
branches:  trunk
changeset: 803144:cfede6934131
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 14 01:04:39 2014 +0000

description:
PR/49281: John D. Baker: fix debugging format
XXX: pullup 7

diffstat:

 sys/dev/ppbus/ppbus_base.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 81ba7ef624cd -r cfede6934131 sys/dev/ppbus/ppbus_base.c
--- a/sys/dev/ppbus/ppbus_base.c        Tue Oct 14 00:56:48 2014 +0000
+++ b/sys/dev/ppbus/ppbus_base.c        Tue Oct 14 01:04:39 2014 +0000
@@ -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 @@
        }
 
 #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");



Home | Main Index | Thread Index | Old Index