summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-08-09 05:53:12 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-08-09 05:53:12 +0000
commit8cf4d8a30e39504811d870b9f299723b11160df1 (patch)
treec7baf8e918fe439c8ba00d7bec5f52e7d6d59379 /sys/arch/arm64/dev
parent7c88a893af6f66fd4a908d753c3497ba21edbfb1 (diff)
Fix format strings to make the kernel build on arm64 again after the
recent kprintf changes in clang. ok deraadt@ kettenis@
Diffstat (limited to 'sys/arch/arm64/dev')
-rw-r--r--sys/arch/arm64/dev/agintc.c4
1 files changed, 2 insertions, 2 deletions
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 <drahn@dalerahn.com>
*
@@ -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);
}