diff options
author | Deanna Phillips <deanna@cvs.openbsd.org> | 2007-02-14 01:31:13 +0000 |
---|---|---|
committer | Deanna Phillips <deanna@cvs.openbsd.org> | 2007-02-14 01:31:13 +0000 |
commit | 2097d19980f8dc0bac0f46ccb56288c196da3408 (patch) | |
tree | 82813cf2ddb9e017631b0a3d7ef876a8c8f8c6c0 | |
parent | 4215d1c63dda5b97f5afe10d3d6be0d372422cea (diff) |
Quiet a noisy debug message by using dnprintf instead of printf.
ok marco
-rw-r--r-- | sys/dev/acpi/acpitz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index 143a9ec1c85..cb27442c078 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.14 2006/12/26 23:58:08 marco Exp $ */ +/* $OpenBSD: acpitz.c,v 1.15 2007/02/14 01:31:12 deanna Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -178,7 +178,7 @@ acpitz_setfan(struct acpitz_softc *sc, int i, char *method) snprintf(name, sizeof name, "_AL%d", i); if (aml_evalname(sc->sc_acpi, sc->sc_devnode, name, 0, NULL, &res0)) { - printf("%s: %s failed\n", DEVNAME(sc), name); + dnprintf(20, "%s: %s failed\n", DEVNAME(sc), name); goto out; } |