summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-08-09 03:44:34 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-08-09 03:44:34 +0000
commit7c88a893af6f66fd4a908d753c3497ba21edbfb1 (patch)
tree1ef92b021acdb74c060ee3b262e6c53817f9d0ff /sys/arch/arm64
parenta66795c004ebf886e2e6470c4172c78bbdb62bf3 (diff)
fix format strings
ok kettenis@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r--sys/arch/arm64/arm64/machdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c
index 63d9b5d14b9..43fd86a6aa4 100644
--- a/sys/arch/arm64/arm64/machdep.c
+++ b/sys/arch/arm64/arm64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.18 2017/05/27 09:54:43 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.19 2017/08/09 03:44:33 jsg Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
*
@@ -1117,11 +1117,11 @@ dumpregs(struct trapframe *frame)
{
int i;
for (i = 0; i < 30; i+=2) {
- printf("x%02d: 0x%016llx 0x%016llx\n",
+ printf("x%02d: 0x%016lx 0x%016lx\n",
i, frame->tf_x[i], frame->tf_x[i+1]);
}
- printf("sp: 0x%016llx\n", frame->tf_sp);
- printf("lr: 0x%016llx\n", frame->tf_lr);
- printf("pc: 0x%016llx\n", frame->tf_elr);
- printf("spsr: 0x%016llx\n", frame->tf_spsr);
+ printf("sp: 0x%016lx\n", frame->tf_sp);
+ printf("lr: 0x%016lx\n", frame->tf_lr);
+ printf("pc: 0x%016lx\n", frame->tf_elr);
+ printf("spsr: 0x%016lx\n", frame->tf_spsr);
}