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 fix misleading error message
details: https://anonhg.NetBSD.org/src/rev/6153e62d55ac
branches: trunk
changeset: 456196:6153e62d55ac
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Apr 26 21:02:42 2019 +0000
description:
fix misleading error message
diffstat:
sys/arch/sgimips/dev/imc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f52972757acc -r 6153e62d55ac sys/arch/sgimips/dev/imc.c
--- a/sys/arch/sgimips/dev/imc.c Fri Apr 26 20:41:10 2019 +0000
+++ b/sys/arch/sgimips/dev/imc.c Fri Apr 26 21:02:42 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imc.c,v 1.34 2015/02/18 16:47:58 macallan Exp $ */
+/* $NetBSD: imc.c,v 1.35 2019/04/26 21:02:42 macallan Exp $ */
/*
* Copyright (c) 2001 Rafal K. Boni
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imc.c,v 1.34 2015/02/18 16:47:58 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imc.c,v 1.35 2019/04/26 21:02:42 macallan Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -106,7 +106,7 @@
isc.iot = normal_memt;
if (bus_space_map(isc.iot, ma->ma_addr, 0x100,
BUS_SPACE_MAP_LINEAR, &isc.ioh))
- panic("imc_attach: could not allocate memory\n");
+ panic("imc_attach: could not map registers\n");
platform.bus_reset = imc_bus_reset;
platform.watchdog_reset = imc_watchdog_reset;
Home |
Main Index |
Thread Index |
Old Index