Module Name:    src
Committed By:   andvar
Date:           Wed Sep 13 19:45:37 UTC 2023

Modified Files:
        src/sys/arch/iyonix/iyonix: iyonix_machdep.c

Log Message:
fix printf format specifier for physmem.

fixes VERBOSE_INIT_ARM enabled build for iyonix.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/iyonix/iyonix/iyonix_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/iyonix/iyonix/iyonix_machdep.c
diff -u src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.32 src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.33
--- src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.32	Thu Apr 20 08:28:06 2023
+++ src/sys/arch/iyonix/iyonix/iyonix_machdep.c	Wed Sep 13 19:45:37 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: iyonix_machdep.c,v 1.32 2023/04/20 08:28:06 skrll Exp $	*/
+/*	$NetBSD: iyonix_machdep.c,v 1.33 2023/09/13 19:45:37 andvar Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.32 2023/04/20 08:28:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.33 2023/09/13 19:45:37 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -492,7 +492,7 @@ initarm(void *arg)
 
 #ifdef VERBOSE_INIT_ARM
 	/* Tell the user about the memory */
-	printf("physmemory: %d pages at 0x%08lx -> 0x%08lx\n", physmem,
+	printf("physmemory: %ld pages at 0x%08lx -> 0x%08lx\n", physmem,
 	    physical_start, physical_end - 1);
 #endif
 

Reply via email to