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/f5c9a0d8305c
branches:  trunk
changeset: 950358:f5c9a0d8305c
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 1ee3b7292c60 -r f5c9a0d8305c 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