Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev As in PR kern/10999 from Matthew Orgass, make the p...
details: https://anonhg.NetBSD.org/src/rev/38143ca7c4ee
branches: trunk
changeset: 534768:38143ca7c4ee
user: soren <soren%NetBSD.org@localhost>
date: Fri Aug 02 19:55:32 2002 +0000
description:
As in PR kern/10999 from Matthew Orgass, make the panic message more
helpful in the case where no console device has registered.
diffstat:
sys/dev/cons.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7f90aa52655f -r 38143ca7c4ee sys/dev/cons.c
--- a/sys/dev/cons.c Fri Aug 02 19:36:26 2002 +0000
+++ b/sys/dev/cons.c Fri Aug 02 19:55:32 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cons.c,v 1.41 2001/11/13 05:32:50 lukem Exp $ */
+/* $NetBSD: cons.c,v 1.42 2002/08/02 19:55:32 soren Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.41 2001/11/13 05:32:50 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.42 2002/08/02 19:55:32 soren Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -85,7 +85,7 @@
* code. Panicing looks better than jumping into nowhere
* through cdevsw below....
*/
- panic("cnopen: cn_tab->cn_dev == NODEV\n");
+ panic("cnopen: no console device\n");
}
if (dev == cndev) {
/*
Home |
Main Index |
Thread Index |
Old Index