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 Improve a VPRINTF



details:   https://anonhg.NetBSD.org/src/rev/e6f765cd67fa
branches:  trunk
changeset: 364357:e6f765cd67fa
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Mar 19 09:55:30 2022 +0000

description:
Improve a VPRINTF

diffstat:

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

diffs (29 lines):

diff -r bfec2c07aa38 -r e6f765cd67fa sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Sat Mar 19 09:54:25 2022 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Sat Mar 19 09:55:30 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.88 2022/03/09 10:06:36 mrg Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.89 2022/03/19 09:55:30 skrll 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.88 2022/03/09 10:06:36 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.89 2022/03/19 09:55:30 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_bootconfig.h"
@@ -475,8 +475,8 @@
                const paddr_t pa = be64toh(map[0]);
                const vaddr_t va = be64toh(map[1]);
                const size_t sz = be64toh(map[2]);
-               VPRINTF("%s: %s %" PRIxPADDR "-%" PRIxVADDR "(%" PRIxVADDR
-                   "-%" PRIxVSIZE "\n", __func__, prop, pa, pa + sz - 1,
+               VPRINTF("%s: %s %#" PRIxPADDR "-%#" PRIxVADDR " (%#" PRIxVADDR
+                   "-%#" PRIxVSIZE ")\n", __func__, prop, pa, pa + sz - 1,
                    va, va + sz - 1);
                arm_efirt_md_map_range(va, pa, sz, type);
                map += 3;



Home | Main Index | Thread Index | Old Index