Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Make identification of accounted aprint_error()s po...



details:   https://anonhg.NetBSD.org/src/rev/cbf13f19a39c
branches:  trunk
changeset: 323211:cbf13f19a39c
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Jun 03 15:26:03 2018 +0000

description:
Make identification of accounted aprint_error()s possible by putting a
big ugly "autoconfiguration error: " in the log when they occur.

diffstat:

 sys/kern/subr_prf.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1d705cf620ae -r cbf13f19a39c sys/kern/subr_prf.c
--- a/sys/kern/subr_prf.c       Sun Jun 03 15:10:12 2018 +0000
+++ b/sys/kern/subr_prf.c       Sun Jun 03 15:26:03 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_prf.c,v 1.170 2018/04/14 01:53:38 kre Exp $       */
+/*     $NetBSD: subr_prf.c,v 1.171 2018/06/03 15:26:03 jakllsch Exp $  */
 
 /*-
  * Copyright (c) 1986, 1988, 1991, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.170 2018/04/14 01:53:38 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.171 2018/06/03 15:26:03 jakllsch Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -869,6 +869,7 @@
 
        if (prefix)
                kprintf_internal("%s: ", flags, NULL, NULL, prefix);
+       kprintf_internal("autoconfiguration error: ", TOLOG, NULL, NULL);
        kprintf(fmt, flags, NULL, NULL, ap);
 
        kprintf_unlock();



Home | Main Index | Thread Index | Old Index