Skip to content

Commit d52ba51

Browse files
adfernandescarlescufi
authored andcommitted
arch/arm: Fix formatting in arch/arm/core/fatal esf_dump
arch/arm/core/fatal: fix formatting in esf_dump Signed-off-by: Andrew Fernandes <[email protected]>
1 parent 6770d1c commit d52ba51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/arm/core/fatal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ static void esf_dump(const z_arch_esf_t *esf)
2525
LOG_ERR(" xpsr: 0x%08x", esf->basic.xpsr);
2626
#if defined(CONFIG_FLOAT) && defined(CONFIG_FP_SHARING)
2727
for (int i = 0; i < 16; i += 4) {
28-
LOG_ERR("s[%d]: 0x%08x s[%d]: 0x%08x"
29-
" s[%d]: 0x%08x s[%d]: 0x%08x\n",
28+
LOG_ERR("s[%2d]: 0x%08x s[%2d]: 0x%08x"
29+
" s[%2d]: 0x%08x s[%2d]: 0x%08x",
3030
i, (u32_t)esf->s[i],
3131
i + 1, (u32_t)esf->s[i + 1],
3232
i + 2, (u32_t)esf->s[i + 2],
3333
i + 3, (u32_t)esf->s[i + 3]);
3434
}
35-
LOG_ERR("fpscr: 0x%08x\n", esf->fpscr);
35+
LOG_ERR("fpscr: 0x%08x", esf->fpscr);
3636
#endif
3737
LOG_ERR("Faulting instruction address (r15/pc): 0x%08x",
3838
esf->basic.pc);

0 commit comments

Comments
 (0)