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 fix printf formats ll? -> PRIx64
details: https://anonhg.NetBSD.org/src/rev/c9c23d64d715
branches: trunk
changeset: 320725:c9c23d64d715
user: christos <christos%NetBSD.org@localhost>
date: Tue Jul 17 00:38:27 2018 +0000
description:
fix printf formats ll? -> PRIx64
diffstat:
sys/arch/evbarm/fdt/fdt_machdep.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (43 lines):
diff -r 6b845b894876 -r c9c23d64d715 sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Tue Jul 17 00:37:42 2018 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Tue Jul 17 00:38:27 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.24 2018/06/27 11:12:15 ryo Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.25 2018/07/17 00:38:27 christos 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.24 2018/06/27 11:12:15 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.25 2018/07/17 00:38:27 christos Exp $");
#include "opt_machdep.h"
#include "opt_bootconfig.h"
@@ -209,10 +209,10 @@
int error = extent_free(fdt_memory_ext, start,
end - start, EX_NOWAIT);
if (error != 0)
- printf("MEM ERROR: res %llx-%llx failed: %d\n",
+ printf("MEM ERROR: res %" PRIx64 "-%" PRIx64 " failed: %d\n",
start, end, error);
else
- DPRINTF("MEM: res %llx-%llx\n", start, end);
+ DPRINTF("MEM: res %" PRIx64 "-%" PRIx64 "\n", start, end);
}
/*
@@ -264,9 +264,9 @@
error = extent_alloc_region(fdt_memory_ext, addr, size,
EX_NOWAIT);
if (error != 0)
- printf("MEM ERROR: add %llx-%llx failed: %d\n",
+ printf("MEM ERROR: add %" PRIx64 "-%" PRIx64 " failed: %d\n",
addr, addr + size, error);
- DPRINTF("MEM: add %llx-%llx\n", addr, addr + size);
+ DPRINTF("MEM: add %" PRIx64 "-%" PRIx64 "\n", addr, addr + size);
}
fdt_add_reserved_memory(mem_end);
Home |
Main Index |
Thread Index |
Old Index