summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-04-15 04:54:04 +0000
committerguenther <guenther@openbsd.org>2017-04-15 04:54:04 +0000
commit09bcc6d9f6c4a2647e5762bf49b490f86add3063 (patch)
tree271d6650a3fd338ff8e84781c2a1221c76b76cff
parentSync bus_dmamap_load_raw() with amd64 for better constraint checking. (diff)
downloadwireguard-openbsd-09bcc6d9f6c4a2647e5762bf49b490f86add3063.tar.xz
wireguard-openbsd-09bcc6d9f6c4a2647e5762bf49b490f86add3063.zip
Fix format string in ACPI_MEMDEBUG block
From Anton Lindqvist (anton.lindqvist(at)gmail.com)
-rw-r--r--sys/dev/acpi/dsdt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index b420c06775d..86f467d993a 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.232 2017/04/08 01:20:10 deraadt Exp $ */
+/* $OpenBSD: dsdt.c,v 1.233 2017/04/15 04:54:04 guenther Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -406,7 +406,8 @@ acpi_walkmem(int sig, const char *lbl)
{
struct acpi_memblock *sptr;
- printf("--- walkmem:%s %x --- %x bytes alloced\n", lbl, sig, acpi_nalloc);
+ printf("--- walkmem:%s %x --- %lx bytes alloced\n", lbl, sig,
+ acpi_nalloc);
LIST_FOREACH(sptr, &acpi_memhead, link) {
if (sptr->sig < sig)
break;