diff options
author | 2009-12-01 04:29:21 +0000 | |
---|---|---|
committer | 2009-12-01 04:29:21 +0000 | |
commit | b3017479a3c467ff6f53f1d3df6f141230eff449 (patch) | |
tree | 4b4ba227d59ba0469d235572c71e45f10e00472a /sys/dev/acpi/acpiutil.c | |
parent | Mark disk as dirty when starting a write to it. Restores issuing of (diff) | |
download | wireguard-openbsd-b3017479a3c467ff6f53f1d3df6f141230eff449.tar.xz wireguard-openbsd-b3017479a3c467ff6f53f1d3df6f141230eff449.zip |
Fix dmesg printing of error.
Diffstat (limited to 'sys/dev/acpi/acpiutil.c')
-rw-r--r-- | sys/dev/acpi/acpiutil.c | 5 |
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); } |