summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2009-12-01 04:29:22 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2009-12-01 04:29:22 +0000
commit9a02b390bcd3f76b236a19abcd8ffdac0f75a342 (patch)
tree6d1262f87d631f227e387a99a4184407a78ee7b5 /sys
parent66a900b4eafdab32da783f23c78294ccbd280364 (diff)
Fix dmesg printing of error.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpiutil.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpiutil.c b/sys/dev/acpi/acpiutil.c
index b3c2fd5f21f..1d58c808c8a 100644
--- a/sys/dev/acpi/acpiutil.c
+++ b/sys/dev/acpi/acpiutil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiutil.c,v 1.4 2008/06/11 04:42:09 marco Exp $ */
+/* $OpenBSD: acpiutil.c,v 1.5 2009/12/01 04:29:21 marco Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -35,6 +35,7 @@ acpi_checksum(const void *v, size_t len)
s += p[i];
if (s)
- printf("acpi: bad checksum at %p\n", v);
+ printf("\nacpi0: bad checksum at %p", v);
+
return (s);
}