Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/vr - fix using uninitialized argument of bi...
details: https://anonhg.NetBSD.org/src/rev/03a47d6fec19
branches: trunk
changeset: 481365:03a47d6fec19
user: sato <sato%NetBSD.org@localhost>
date: Thu Jan 27 06:23:05 2000 +0000
description:
- fix using uninitialized argument of bitdisp64().
diffstat:
sys/arch/hpcmips/vr/vrgiu.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r d5e1f05c2157 -r 03a47d6fec19 sys/arch/hpcmips/vr/vrgiu.c
--- a/sys/arch/hpcmips/vr/vrgiu.c Thu Jan 27 06:18:03 2000 +0000
+++ b/sys/arch/hpcmips/vr/vrgiu.c Thu Jan 27 06:23:05 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vrgiu.c,v 1.4 1999/12/23 06:26:10 takemura Exp $ */
+/* $NetBSD: vrgiu.c,v 1.5 2000/01/27 06:23:05 sato Exp $ */
/*-
* Copyright (c) 1999
@@ -154,11 +154,14 @@
#ifdef VRGIUDEBUG
/* Display port status (Input/Output) for debugging */
if (vrgiu_debug & DEBUG_IO) {
-u_int32_t preg[2];
+ u_int32_t preg[2];
+
printf("I/O setting: ");
vrgiu_dump_iosetting(sc);
printf("\n");
+ preg[0] = vrgiu_regread_4(sc, GIUPIOD_REG);
+ preg[1] = vrgiu_regread_4(sc, GIUPODAT_REG);
printf(" data:");
bitdisp64(preg);
}
Home |
Main Index |
Thread Index |
Old Index