From 8cf4d8a30e39504811d870b9f299723b11160df1 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 9 Aug 2017 05:53:12 +0000 Subject: Fix format strings to make the kernel build on arm64 again after the recent kprintf changes in clang. ok deraadt@ kettenis@ --- sys/arch/arm64/dev/agintc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/arm64/dev') diff --git a/sys/arch/arm64/dev/agintc.c b/sys/arch/arm64/dev/agintc.c index ab133236d96..ef581bb783f 100644 --- a/sys/arch/arm64/dev/agintc.c +++ b/sys/arch/arm64/dev/agintc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: agintc.c,v 1.4 2017/04/30 21:52:40 kettenis Exp $ */ +/* $OpenBSD: agintc.c,v 1.5 2017/08/09 05:53:11 jsg Exp $ */ /* * Copyright (c) 2007, 2009, 2011, 2017 Dale Rahn * @@ -367,7 +367,7 @@ agintc_cpuinit(void) printf("cpu mpidr not found mpidr %llx affinity %08x\n", mpidr, affinity); for (i = 0; i < sc->sc_num_redist; i++) - printf("rdist%d: %08x\n", i, sc->sc_affinity[i]); + printf("rdist%d: %016llx\n", i, sc->sc_affinity[i]); panic("failed to indentify cpunumber %d \n", ci->ci_cpuid); } -- cgit v1.2.3