summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-04-15 04:54:05 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-04-15 04:54:05 +0000
commitff399403fbd711440451ccdecae5f8d422cb0f5f (patch)
treec37bd7ca5aec2b43f5e5384cb54560edafd918b9 /sys/dev/acpi
parent93f942b82e465a400d70eac6b25b8aadef033192 (diff)
Fix format string in ACPI_MEMDEBUG block
From Anton Lindqvist (anton.lindqvist(at)gmail.com)
Diffstat (limited to 'sys/dev/acpi')
-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;