Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi build fix



details:   https://anonhg.NetBSD.org/src/rev/7fcea8a5182f
branches:  trunk
changeset: 980176:7fcea8a5182f
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jan 26 00:23:16 2021 +0000

description:
build fix

diffstat:

 sys/dev/acpi/acpi_util.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 2032036b7d46 -r 7fcea8a5182f sys/dev/acpi/acpi_util.c
--- a/sys/dev/acpi/acpi_util.c  Tue Jan 26 00:19:52 2021 +0000
+++ b/sys/dev/acpi/acpi_util.c  Tue Jan 26 00:23:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_util.c,v 1.21 2021/01/26 00:19:53 jmcneill Exp $ */
+/*     $NetBSD: acpi_util.c,v 1.22 2021/01/26 00:23:16 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2003, 2007, 2021 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_util.c,v 1.21 2021/01/26 00:19:53 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_util.c,v 1.22 2021/01/26 00:23:16 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -873,7 +873,8 @@
        SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) {
                if (ad->ad_device != NULL)
                        continue;
-               aprint_debug(dev, "claiming %s\n", acpi_name(ad->ad_handle));
+               aprint_debug_dev(dev, "claiming %s\n",
+                   acpi_name(ad->ad_handle));
                ad->ad_device = dev;
                acpi_claim_childdevs(dev, ad);
        }



Home | Main Index | Thread Index | Old Index