Module Name: src
Committed By: chs
Date: Sun Sep 23 01:11:14 UTC 2012
Modified Files:
src/sys/dev/pci: if_gem_pci.c
Log Message:
fix a debug printf.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/if_gem_pci.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/dev/pci/if_gem_pci.c
diff -u src/sys/dev/pci/if_gem_pci.c:1.44 src/sys/dev/pci/if_gem_pci.c:1.45
--- src/sys/dev/pci/if_gem_pci.c:1.44 Mon Jan 30 19:41:20 2012
+++ src/sys/dev/pci/if_gem_pci.c Sun Sep 23 01:11:14 2012
@@ -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 @@ gem_pci_attach(device_t parent, device_t
}
#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;