Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 print the actual device name in error mes...



details:   https://anonhg.NetBSD.org/src/rev/9b1d2e1ad33c
branches:  trunk
changeset: 582053:9b1d2e1ad33c
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 15 01:52:39 2005 +0000

description:
print the actual device name in error message.

diffstat:

 sys/arch/i386/i386/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 256d8044a3ab -r 9b1d2e1ad33c sys/arch/i386/i386/cpu.c
--- a/sys/arch/i386/i386/cpu.c  Wed Jun 15 01:48:20 2005 +0000
+++ b/sys/arch/i386/i386/cpu.c  Wed Jun 15 01:52:39 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.21 2005/04/01 11:59:30 yamt Exp $ */
+/* $NetBSD: cpu.c,v 1.22 2005/06/15 01:52:39 christos Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.21 2005/04/01 11:59:30 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.22 2005/06/15 01:52:39 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -553,7 +553,7 @@
                delay(10);
        }
        if (! (ci->ci_flags & CPUF_RUNNING)) {
-               printf("CPU failed to start\n");
+               printf("%s: failed to start\n", ci->ci_dev->dv_xname);
 #if defined(MPDEBUG) && defined(DDB)
                printf("dropping into debugger; continue from here to resume boot\n");
                Debugger();



Home | Main Index | Thread Index | Old Index