From 09bcc6d9f6c4a2647e5762bf49b490f86add3063 Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 15 Apr 2017 04:54:04 +0000 Subject: [PATCH] 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(-) 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; -- 2.20.1