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 debug message.
details: https://anonhg.NetBSD.org/src/rev/8ba982be3caf
branches: trunk
changeset: 332724:8ba982be3caf
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Oct 06 07:52:50 2014 +0000
description:
Fix debug message.
diffstat:
sys/dev/pci/if_wm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r fbef36ed9942 -r 8ba982be3caf sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Mon Oct 06 07:31:24 2014 +0000
+++ b/sys/dev/pci/if_wm.c Mon Oct 06 07:52:50 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.300 2014/10/06 07:31:24 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.301 2014/10/06 07:52:50 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.300 2014/10/06 07:31:24 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.301 2014/10/06 07:52:50 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -8492,9 +8492,9 @@
printf("%s: NVM dump:\n", device_xname(sc->sc_dev));
for (i = 0; i < NVM_SIZE; i++) {
if (wm_nvm_read(sc, i, 1, &eeprom_data))
- printf("XX ");
+ printf("XXXX ");
else
- printf("%04x ", eeprom_data);
+ printf("%04hx ", eeprom_data);
if (i % 8 == 7)
printf("\n");
}
Home |
Main Index |
Thread Index |
Old Index