Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi Demote "unknown output device" message from err...



details:   https://anonhg.NetBSD.org/src/rev/1bd72f5e576d
branches:  trunk
changeset: 931641:1bd72f5e576d
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Apr 28 11:02:37 2020 +0000

description:
Demote "unknown output device" message from error to debug, and change
the wording to reflect what is really happening -- the display output is
not connected.

diffstat:

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

diffs (29 lines):

diff -r 1fdb46a15afc -r 1bd72f5e576d sys/dev/acpi/acpi_display.c
--- a/sys/dev/acpi/acpi_display.c       Tue Apr 28 10:04:32 2020 +0000
+++ b/sys/dev/acpi/acpi_display.c       Tue Apr 28 11:02:37 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_display.c,v 1.16 2017/06/01 02:45:09 chs Exp $    */
+/*     $NetBSD: acpi_display.c,v 1.17 2020/04/28 11:02:37 jmcneill Exp $       */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_display.c,v 1.16 2017/06/01 02:45:09 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_display.c,v 1.17 2020/04/28 11:02:37 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -1549,8 +1549,8 @@
                        }
                }
                if (i == oi->oi_dev_count)
-                       aprint_error_dev(asc->sc_dev,
-                           "unknown output device %s\n",
+                       aprint_debug_dev(asc->sc_dev,
+                           "output device %s not connected\n",
                            device_xname(osc->sc_dev));
        }
 }



Home | Main Index | Thread Index | Old Index