Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Print number of attach error regardless of AB_QUIET...



details:   https://anonhg.NetBSD.org/src/rev/5017e015a909
branches:  trunk
changeset: 346561:5017e015a909
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Jul 19 07:44:03 2016 +0000

description:
Print number of attach error regardless of AB_QUIET and AB_SILENT.

diffstat:

 sys/kern/subr_autoconf.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 2ddb9a9f9e5c -r 5017e015a909 sys/kern/subr_autoconf.c
--- a/sys/kern/subr_autoconf.c  Tue Jul 19 07:06:32 2016 +0000
+++ b/sys/kern/subr_autoconf.c  Tue Jul 19 07:44:03 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_autoconf.c,v 1.246 2016/07/15 01:17:47 pgoyette Exp $ */
+/* $NetBSD: subr_autoconf.c,v 1.247 2016/07/19 07:44:03 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.246 2016/07/15 01:17:47 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.247 2016/07/19 07:44:03 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -2179,11 +2179,11 @@
                        printf_nolog(" done.\n");
                }
                mutex_exit(&config_misc_lock);
-               if (errcnt != 0) {
-                       printf("WARNING: %d error%s while detecting hardware; "
-                           "check system log.\n", errcnt,
-                           errcnt == 1 ? "" : "s");
-               }
+       }
+       if (errcnt != 0) {
+               printf("WARNING: %d error%s while detecting hardware; "
+                   "check system log.\n", errcnt,
+                   errcnt == 1 ? "" : "s");
        }
 }
 



Home | Main Index | Thread Index | Old Index