From 0f5f42619b5c5172c9f0ad6bc10d73d6b7c7e1ca Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Wed, 18 Nov 2020 16:36:38 -0600 Subject: score/aarch64: Resolve warning in exception dump This resolves a warning in the exception frame dump for AArch64 relating to a missized printf format specifier. --- cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu') diff --git a/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c b/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c index cd919c3214..59b5d06032 100644 --- a/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c +++ b/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c @@ -65,7 +65,7 @@ void _CPU_Exception_frame_print( const CPU_Exception_frame *frame ) "X11 = 0x%016" PRIx64 " X28 = 0x%016" PRIx64 "\n" "X12 = 0x%016" PRIx64 " FP = 0x%016" PRIx64 "\n" "X13 = 0x%016" PRIx64 " LR = 0x%016" PRIxPTR "\n" - "X14 = 0x%016" PRIx64 " SP = 0x%016" PRIx64 "\n" + "X14 = 0x%016" PRIx64 " SP = 0x%016" PRIxPTR "\n" "X15 = 0x%016" PRIx64 " PC = 0x%016" PRIxPTR "\n" "X16 = 0x%016" PRIx64 " DAIF = 0x%016" PRIx64 "\n" "VEC = 0x%016" PRIxPTR " CPSR = 0x%016" PRIx64 "\n" @@ -84,7 +84,7 @@ void _CPU_Exception_frame_print( const CPU_Exception_frame *frame ) frame->register_x11, frame->register_x28, frame->register_x12, frame->register_fp, frame->register_x13, (intptr_t)frame->register_lr, - frame->register_x14, frame->register_sp, + frame->register_x14, (intptr_t)frame->register_sp, frame->register_x15, (intptr_t)frame->register_pc, frame->register_x16, frame->register_daif, (intptr_t) frame->vector, frame->register_cpsr, -- cgit v1.2.3