Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/stand/ofwboot Make a "panic" message slightly...
details: https://anonhg.NetBSD.org/src/rev/0be3bce6ebf4
branches: trunk
changeset: 786115:0be3bce6ebf4
user: martin <martin%NetBSD.org@localhost>
date: Tue Apr 16 07:45:37 2013 +0000
description:
Make a "panic" message slightly more verbose
diffstat:
sys/arch/sparc/stand/ofwboot/ofdev.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ec6f3482f3af -r 0be3bce6ebf4 sys/arch/sparc/stand/ofwboot/ofdev.c
--- a/sys/arch/sparc/stand/ofwboot/ofdev.c Tue Apr 16 06:57:05 2013 +0000
+++ b/sys/arch/sparc/stand/ofwboot/ofdev.c Tue Apr 16 07:45:37 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofdev.c,v 1.33 2012/07/16 11:26:27 tsutsui Exp $ */
+/* $NetBSD: ofdev.c,v 1.34 2013/04/16 07:45:37 martin Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -374,7 +374,7 @@
int error = 0;
if (ofdev.handle != -1)
- panic("devopen");
+ panic("devopen: ofdev already in use");
if (of->f_flags != F_READ)
return EPERM;
DPRINTF(("devopen: you want %s\n", name));
Home |
Main Index |
Thread Index |
Old Index