powerpc/new-exceptions/bspsupport/ppc_exc_print.c: Fix printf() format warnings

This commit is contained in:
Joel Sherrill
2017-04-24 11:17:41 -05:00
parent 2808c26266
commit 646df54c91

View File

@@ -187,8 +187,8 @@ void _CPU_Exception_frame_print(const CPU_Exception_frame *excPtr)
int i;
int j;
printk(" VSCR = 0x%08x\n", excPtr->VSCR);
printk("VRSAVE = 0x%08x\n", excPtr->VRSAVE);
printk(" VSCR = 0x%08" PRIx32 "\n", excPtr->VSCR);
printk("VRSAVE = 0x%08" PRIx32 "\n", excPtr->VRSAVE);
for (i = 0; i < 32; ++i) {
printk(" V%02i = 0x", i);