Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci fix a debug printf.



details:   https://anonhg.NetBSD.org/src/rev/20cef20ea01e
branches:  trunk
changeset: 781695:20cef20ea01e
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Sep 23 01:11:14 2012 +0000

description:
fix a debug printf.

diffstat:

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

diffs (27 lines):

diff -r 15502ef4c212 -r 20cef20ea01e sys/dev/pci/if_gem_pci.c
--- a/sys/dev/pci/if_gem_pci.c  Sun Sep 23 01:10:59 2012 +0000
+++ b/sys/dev/pci/if_gem_pci.c  Sun Sep 23 01:11:14 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gem_pci.c,v 1.44 2012/01/30 19:41:20 drochner Exp $ */
+/*     $NetBSD: if_gem_pci.c,v 1.45 2012/09/23 01:11:14 chs Exp $ */
 
 /*
  *
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gem_pci.c,v 1.44 2012/01/30 19:41:20 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gem_pci.c,v 1.45 2012/09/23 01:11:14 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -276,7 +276,7 @@
                        }
 #ifdef GEM_DEBUG
                        /* PROM dump */
-                       printf("%s: PROM dump (0x0000 to %04lx)\n", device_xname(sc->sc_dev),
+                       printf("%s: PROM dump (0x0000 to %04zx)\n", device_xname(sc->sc_dev),
                            (sizeof buf) - 1);
                        i = 0;
                        j = 0;



Home | Main Index | Thread Index | Old Index