arm: fix incorrect printk() usage
Change-Id: I56f980659513e66a414cc7ca9b64ecde61e903f9 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
ee5c0fb771
commit
b63d4928d8
2 changed files with 15 additions and 10 deletions
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include <toolchain.h>
|
||||
#include <sections.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <nanokernel.h>
|
||||
#include <nano_private.h>
|
||||
|
@ -97,8 +98,8 @@ FUNC_NORETURN void _NanoFatalErrorHandler(unsigned int reason,
|
|||
PR_EXC("**** Unknown Fatal Error %d! ****\n", reason);
|
||||
break;
|
||||
}
|
||||
PR_EXC("Current thread ID = 0x%x\n"
|
||||
"Faulting instruction address = 0x%x\n",
|
||||
PR_EXC("Current thread ID = %p\n"
|
||||
"Faulting instruction address = 0x%" PRIx32 "\n",
|
||||
sys_thread_self_get(),
|
||||
pEsf->pc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue