From 2529ffb3cf71745bba3ddefca0ab5e866d9c1085 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sat, 29 Mar 2008 13:33:12 +0000 Subject: [PATCH] Fix printf in ACPI_DEBUG case, pointed out by mlelstv@ --- sys/dev/acpi/acpi_tz.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/acpi/acpi_tz.c b/sys/dev/acpi/acpi_tz.c index f10d092ccfef..f42aab5de1d3 100644 --- a/sys/dev/acpi/acpi_tz.c +++ b/sys/dev/acpi/acpi_tz.c @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_tz.c,v 1.34 2008/03/26 16:48:53 xtraeme Exp $ */ +/* $NetBSD: acpi_tz.c,v 1.35 2008/03/29 13:33:12 jmcneill Exp $ */ /* * Copyright (c) 2003 Jared D. McNeill @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.34 2008/03/26 16:48:53 xtraeme Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.35 2008/03/29 13:33:12 jmcneill Exp $"); #include #include @@ -551,7 +551,7 @@ acpitz_get_integer(device_t dv, const char *cm, UINT32 *val) rv = acpi_eval_integer(sc->sc_devnode->ad_handle, cm, &tmp); if (ACPI_FAILURE(rv)) { #ifdef ACPI_DEBUG - printf("%s: failed to evaluate %s: %s\n", device_private(dv), + aprint_debug_dev(dv, "failed to evaluate %s: %s\n", cm, AcpiFormatException(rv)); #endif *val = ATZ_TMP_INVALID;