Module Name: src
Committed By: ryo
Date: Tue Mar 13 06:18:36 UTC 2018
Modified Files:
src/sys/arch/evbarm/ixdp425: ixdp425_machdep.c
Log Message:
fix compile error (printf format)
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/evbarm/ixdp425/ixdp425_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/ixdp425/ixdp425_machdep.c
diff -u src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c:1.37 src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c:1.38
--- src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c:1.37 Thu Dec 22 14:47:55 2016
+++ src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c Tue Mar 13 06:18:36 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: ixdp425_machdep.c,v 1.37 2016/12/22 14:47:55 cherry Exp $ */
+/* $NetBSD: ixdp425_machdep.c,v 1.38 2018/03/13 06:18:36 ryo Exp $ */
/*
* Copyright (c) 2003
* Ichiro FUKUHARA <[email protected]>.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.37 2016/12/22 14:47:55 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.38 2018/03/13 06:18:36 ryo Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -435,7 +435,7 @@ initarm(void *arg)
/* Tell the user about the memory */
#ifdef VERBOSE_INIT_ARM
- printf("physmemory: %d pages at 0x%08lx -> 0x%08lx\n", physmem,
+ printf("physmemory: %"PRIuPSIZE" pages at 0x%08lx -> 0x%08lx\n", physmem,
physical_start, physical_end - 1);
printf("Allocating page tables\n");