Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/iq80321 fix printf format



details:   https://anonhg.NetBSD.org/src/rev/78372a9ce856
branches:  trunk
changeset: 819970:78372a9ce856
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 25 04:35:30 2016 +0000

description:
fix printf format

diffstat:

 sys/arch/evbarm/iq80321/iq80321_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 955365565e2d -r 78372a9ce856 sys/arch/evbarm/iq80321/iq80321_machdep.c
--- a/sys/arch/evbarm/iq80321/iq80321_machdep.c Sun Dec 25 03:39:26 2016 +0000
+++ b/sys/arch/evbarm/iq80321/iq80321_machdep.c Sun Dec 25 04:35:30 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iq80321_machdep.c,v 1.56 2016/12/22 14:47:55 cherry Exp $      */
+/*     $NetBSD: iq80321_machdep.c,v 1.57 2016/12/25 04:35:30 christos Exp $    */
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.56 2016/12/22 14:47:55 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.57 2016/12/25 04:35:30 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -453,8 +453,8 @@
 
 #ifdef VERBOSE_INIT_ARM
        /* Tell the user about the memory */
-       printf("physmemory: %d pages at 0x%08lx -> 0x%08lx\n", physmem,
-           physical_start, physical_end - 1);
+       printf("physmemory: %"PRIuPSIZE" pages at 0x%08lx -> 0x%08lx\n",
+           physmem, physical_start, physical_end - 1);
 #endif
 
        /*



Home | Main Index | Thread Index | Old Index