summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-11-02 04:58:21 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-11-02 04:58:21 +0000
commitbeda90c85fd272c6079af779c0ebc947c73386e7 (patch)
tree5a01fa6d4096e7a8e6584562546d9982a262cc98 /sys
parent798f76860525bfb47f6b9ff3de7184cecdf2d44e (diff)
Ooops, forgot a debug printf.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpitz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c
index 17dbd20adce..34358799eec 100644
--- a/sys/dev/acpi/acpitz.c
+++ b/sys/dev/acpi/acpitz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpitz.c,v 1.7 2006/11/02 04:56:13 marco Exp $ */
+/* $OpenBSD: acpitz.c,v 1.8 2006/11/02 04:58:20 marco Exp $ */
/*
* Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org>
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
@@ -187,7 +187,7 @@ acpitz_setfan(struct acpitz_softc *sc, int i, char *method)
char name[8];
int rv = 1, x, y;
- printf("%s: acpitz_setfan(%d, %s)\n", DEVNAME(sc), i, method);
+ dnprintf(20, "%s: acpitz_setfan(%d, %s)\n", DEVNAME(sc), i, method);
snprintf(name, sizeof name, "_AL%d", i);
if (aml_evalname(sc->sc_acpi, sc->sc_devnode, name, 0, NULL, &res0)) {