Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/nslu2 Make this compile again with VERBOSE_I...



details:   https://anonhg.NetBSD.org/src/rev/b817e0169d43
branches:  trunk
changeset: 376372:b817e0169d43
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Jun 14 10:30:34 2023 +0000

description:
Make this compile again with VERBOSE_INIT_ARM.

diffstat:

 sys/arch/evbarm/nslu2/nslu2_machdep.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 5bc3b71e6462 -r b817e0169d43 sys/arch/evbarm/nslu2/nslu2_machdep.c
--- a/sys/arch/evbarm/nslu2/nslu2_machdep.c     Wed Jun 14 10:29:52 2023 +0000
+++ b/sys/arch/evbarm/nslu2/nslu2_machdep.c     Wed Jun 14 10:30:34 2023 +0000
@@ -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



Home | Main Index | Thread Index | Old Index