Module Name: src
Committed By: rin
Date: Wed Jun 14 10:30:35 UTC 2023
Modified Files:
src/sys/arch/evbarm/nslu2: nslu2_machdep.c
Log Message:
Make this compile again with VERBOSE_INIT_ARM.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/evbarm/nslu2/nslu2_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/nslu2/nslu2_machdep.c
diff -u src/sys/arch/evbarm/nslu2/nslu2_machdep.c:1.36 src/sys/arch/evbarm/nslu2/nslu2_machdep.c:1.37
--- src/sys/arch/evbarm/nslu2/nslu2_machdep.c:1.36 Thu Apr 20 08:28:05 2023
+++ src/sys/arch/evbarm/nslu2/nslu2_machdep.c Wed Jun 14 10:30:34 2023
@@ -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 <sys/cdefs.h>
-__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