Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/dev Avoid shadow warnings
details: https://anonhg.NetBSD.org/src/rev/58b951a87c05
branches: trunk
changeset: 581678:58b951a87c05
user: martin <martin%NetBSD.org@localhost>
date: Fri Jun 03 18:55:53 2005 +0000
description:
Avoid shadow warnings
diffstat:
sys/arch/sgimips/dev/crime.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 4f69a684cd0f -r 58b951a87c05 sys/arch/sgimips/dev/crime.c
--- a/sys/arch/sgimips/dev/crime.c Fri Jun 03 18:55:12 2005 +0000
+++ b/sys/arch/sgimips/dev/crime.c Fri Jun 03 18:55:53 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crime.c,v 1.19 2004/09/06 07:24:06 sekiya Exp $ */
+/* $NetBSD: crime.c,v 1.20 2005/06/03 18:55:53 martin Exp $ */
/*
* Copyright (c) 2004 Christopher SEKIYA
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: crime.c,v 1.19 2004/09/06 07:24:06 sekiya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: crime.c,v 1.20 2005/06/03 18:55:53 martin Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -219,10 +219,10 @@
if (crime_ipending & CRIME_INT_MEMERR) {
u_int64_t address =
bus_space_read_8(crm_iot, crm_ioh, CRIME_MEM_ERROR_ADDR);
- u_int64_t status =
+ u_int64_t status1 =
bus_space_read_8(crm_iot, crm_ioh, CRIME_MEM_ERROR_STAT);
printf("crime: memory error address %llx"
- " status %llx\n", address << 2, status);
+ " status %llx\n", address << 2, status1);
crime_bus_reset();
}
Home |
Main Index |
Thread Index |
Old Index