From c7656b4255bc3d6c9eedbb1f69af14d35536b313 Mon Sep 17 00:00:00 2001 From: rin Date: Wed, 14 Jun 2023 10:30:34 +0000 Subject: [PATCH] Make this compile again with VERBOSE_INIT_ARM. --- sys/arch/evbarm/nslu2/nslu2_machdep.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/arch/evbarm/nslu2/nslu2_machdep.c b/sys/arch/evbarm/nslu2/nslu2_machdep.c index 2ba3a4b16eb4..cb402a3467ef 100644 --- a/sys/arch/evbarm/nslu2/nslu2_machdep.c +++ b/sys/arch/evbarm/nslu2/nslu2_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: nslu2_machdep.c,v 1.36 2023/04/20 08:28:05 skrll Exp $ */ +/* $NetBSD: nslu2_machdep.c,v 1.37 2023/06/14 10:30:34 rin Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -94,7 +94,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.36 2023/04/20 08:28:05 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.37 2023/06/14 10:30:34 rin Exp $"); #include "opt_arm_debug.h" #include "opt_console.h" @@ -482,8 +482,9 @@ initarm(void *arg) /* Tell the user about the memory */ #ifdef VERBOSE_INIT_ARM - printf("physmemory: %d pages at 0x%08lx -> 0x%08lx\n", physmem, - physical_start, physical_end - 1); + printf("physmemory: %" PRIuPSIZE " pages at " + "0x%08" PRIxPADDR " -> 0x%08" PRIxPADDR "\n", + physmem, physical_start, physical_end - 1); printf("Allocating page tables\n"); #endif