arm: fix incorrect printk() usage

Change-Id: I56f980659513e66a414cc7ca9b64ecde61e903f9
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-08-18 13:03:42 -07:00 committed by Anas Nashif
commit b63d4928d8
2 changed files with 15 additions and 10 deletions

View file

@ -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);