diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-01-06 08:37:33 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-01-06 08:37:33 +0000 |
commit | dd7561b736ff093c66c72eff24c4c3701112ae9c (patch) | |
tree | cf3e61cfd1bbc28d6279df2e8b8cfdba3a6427c1 /sys/dev/acpi/acpi.c | |
parent | 6989b15c5b536ce1dd494a5435a7c25985e88f16 (diff) |
printf -> dnprintf conversion for debug messages.
Diffstat (limited to 'sys/dev/acpi/acpi.c')
-rw-r--r-- | sys/dev/acpi/acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index b256993e6e8..7deb6b8507b 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.16 2006/01/05 22:58:42 grange Exp $ */ +/* $OpenBSD: acpi.c,v 1.17 2006/01/06 08:37:32 grange Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -298,7 +298,7 @@ acpi_gpe(struct aml_node *node, void *arg) flag = acpi_read_pmreg(sc, ACPIREG_GPE0_EN); for (child = node->child; child; child = child->sibling) { - printf("gpe: %s\n", child->name); + dnprintf(30, "gpe: %s\n", child->name); } flag = -1; flag &= ~(1L << 0x1C); @@ -487,7 +487,7 @@ acpi_attach(struct device *parent, struct device *self, void *aux) for (idx = 0; idx < ACPIREG_MAXREG; idx++) { if (sc->sc_pmregs[idx].name) { - printf("%8s = %.8x\n", + dnprintf(30, "%8s = %.8x\n", sc->sc_pmregs[idx].name, acpi_read_pmreg(sc, idx)); } |