Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/fdt Use PRIx64 to print uint64_t



details:   https://anonhg.NetBSD.org/src/rev/953cecbcd592
branches:  trunk
changeset: 994315:953cecbcd592
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Oct 31 13:37:35 2018 +0000

description:
Use PRIx64 to print uint64_t

diffstat:

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

diffs (36 lines):

diff -r 8b8a231474ef -r 953cecbcd592 sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Wed Oct 31 13:01:48 2018 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Wed Oct 31 13:37:35 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.51 2018/10/31 13:01:48 jmcneill Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.52 2018/10/31 13:37:35 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.51 2018/10/31 13:01:48 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.52 2018/10/31 13:37:35 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_bootconfig.h"
@@ -241,7 +241,7 @@
 {
        BootConfig *bc = arg;
 
-       VPRINTF("  %llx - %llx\n", m->start, m->end - 1);
+       VPRINTF("  %" PRIx64 " - %" PRIx64 "\n", m->start, m->end - 1);
        bc->dram[bc->dramblocks].address = m->start;
        bc->dram[bc->dramblocks].pages =
            (m->end - m->start) / PAGE_SIZE;
@@ -257,7 +257,7 @@
 {
        struct boot_physmem *bp = &fdt_physmem[nfdt_physmem++];
 
-       VPRINTF("  %llx - %llx\n", m->start, m->end - 1);
+       VPRINTF("  %" PRIx64 " - %" PRIx64 "\n", m->start, m->end - 1);
 
        KASSERT(nfdt_physmem <= MAX_PHYSMEM);
 



Home | Main Index | Thread Index | Old Index