From ff399403fbd711440451ccdecae5f8d422cb0f5f Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 15 Apr 2017 04:54:05 +0000 Subject: Fix format string in ACPI_MEMDEBUG block From Anton Lindqvist (anton.lindqvist(at)gmail.com) --- sys/dev/acpi/dsdt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/acpi') 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 * @@ -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; -- cgit v1.2.3