Module Name: src Committed By: martin Date: Fri Feb 24 14:17:18 UTC 2023
Modified Files: src/sys/kern [netbsd-8]: subr_prf.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #1804): sys/kern/subr_prf.c: revision 1.171 Make identification of accounted aprint_error()s possible by putting a big ugly "autoconfiguration error: " in the log when they occur. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.160.8.1 src/sys/kern/subr_prf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/subr_prf.c diff -u src/sys/kern/subr_prf.c:1.160 src/sys/kern/subr_prf.c:1.160.8.1 --- src/sys/kern/subr_prf.c:1.160 Wed Jul 27 09:57:26 2016 +++ src/sys/kern/subr_prf.c Fri Feb 24 14:17:18 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_prf.c,v 1.160 2016/07/27 09:57:26 skrll Exp $ */ +/* $NetBSD: subr_prf.c,v 1.160.8.1 2023/02/24 14:17:18 martin Exp $ */ /*- * Copyright (c) 1986, 1988, 1991, 1993 @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.160 2016/07/27 09:57:26 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.160.8.1 2023/02/24 14:17:18 martin Exp $"); #ifdef _KERNEL_OPT #include "opt_ddb.h" @@ -907,6 +907,7 @@ aprint_verbose_internal(const char *pref if (prefix) kprintf_internal("%s: ", flags, NULL, NULL, prefix); + kprintf_internal("autoconfiguration error: ", TOLOG, NULL, NULL); kprintf(fmt, flags, NULL, NULL, ap); kprintf_unlock();