Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Do not use aprint_normal for error messages.



details:   https://anonhg.NetBSD.org/src/rev/4880573fb8be
branches:  trunk
changeset: 749273:4880573fb8be
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Nov 24 15:51:39 2009 +0000

description:
Do not use aprint_normal for error messages.

diffstat:

 sys/dev/pci/mpt_pci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r f71b804a38e1 -r 4880573fb8be sys/dev/pci/mpt_pci.c
--- a/sys/dev/pci/mpt_pci.c     Tue Nov 24 15:09:10 2009 +0000
+++ b/sys/dev/pci/mpt_pci.c     Tue Nov 24 15:51:39 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mpt_pci.c,v 1.19 2009/05/12 08:23:01 cegger Exp $      */
+/*     $NetBSD: mpt_pci.c,v 1.20 2009/11/24 15:51:39 njoly Exp $       */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpt_pci.c,v 1.19 2009/05/12 08:23:01 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpt_pci.c,v 1.20 2009/11/24 15:51:39 njoly Exp $");
 
 #include <dev/ic/mpt.h>                        /* pulls in all headers */
 
@@ -210,8 +210,8 @@
        if (psc->sc_ih == NULL) {
                aprint_error_dev(&mpt->sc_dev, "unable to establish interrupt");
                if (intrstr != NULL)
-                       aprint_normal(" at %s", intrstr);
-               aprint_normal("\n");
+                       aprint_error(" at %s", intrstr);
+               aprint_error("\n");
                return;
        }
        aprint_normal_dev(&mpt->sc_dev, "interrupting at %s\n",



Home | Main Index | Thread Index | Old Index