Module Name:    src
Committed By:   ryo
Date:           Tue Mar 13 06:18:47 UTC 2018

Modified Files:
        src/sys/arch/evbarm/osk5912: osk5912_machdep.c

Log Message:
fix compile error


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbarm/osk5912/osk5912_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/osk5912/osk5912_machdep.c
diff -u src/sys/arch/evbarm/osk5912/osk5912_machdep.c:1.16 src/sys/arch/evbarm/osk5912/osk5912_machdep.c:1.17
--- src/sys/arch/evbarm/osk5912/osk5912_machdep.c:1.16	Thu Dec 22 14:47:56 2016
+++ src/sys/arch/evbarm/osk5912/osk5912_machdep.c	Tue Mar 13 06:18:47 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: osk5912_machdep.c,v 1.16 2016/12/22 14:47:56 cherry Exp $ */
+/*	$NetBSD: osk5912_machdep.c,v 1.17 2018/03/13 06:18:47 ryo Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osk5912_machdep.c,v 1.16 2016/12/22 14:47:56 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osk5912_machdep.c,v 1.17 2018/03/13 06:18:47 ryo Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -796,7 +796,7 @@ setup_real_page_tables(void)
 
 	printf(mem_fmt, "SDRAM", physical_start, physical_end-1,
 	    KERN_PHYSTOV(physical_start), KERN_PHYSTOV(physical_end-1),
-	    physmem);
+	    (int)physmem);
 	printf(mem_fmt, "text section",
 	       KERN_VTOPHYS(KERNEL_BASE), KERN_VTOPHYS(etext-1),
 	       (vaddr_t)KERNEL_BASE, (vaddr_t)etext-1,

Reply via email to