summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-11-27 19:32:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-11-27 19:32:19 +0000
commitae8084266ef6e3547ec0e866f97699672b909dfd (patch)
tree8cf11ebd53dc0662b5a5a90afc4a1fcd04145fd4 /sys
parent5c41c9b5ccfd22ef3c2ba35b5a3b9dac9c0e1410 (diff)
Don't spam dmesg.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index edc725bbfe6..446c1b3625f 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.64 2006/11/27 15:20:26 jordan Exp $ */
+/* $OpenBSD: acpi.c,v 1.65 2006/11/27 19:32:18 kettenis Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -955,6 +955,9 @@ acpi_print(void *aux, const char *pnp)
#ifdef ACPIVERBOSE
else
printf("acpi device at %s from", pnp);
+#else
+ else
+ return (QUIET);
#endif
}
#ifdef ACPIVERBOSE