diff --git a/arch/sim/src/sim/up_vfork.c b/arch/sim/src/sim/up_vfork.c index 35f3f5f5d9..3945132e62 100644 --- a/arch/sim/src/sim/up_vfork.c +++ b/arch/sim/src/sim/up_vfork.c @@ -93,7 +93,7 @@ pid_t up_vfork(const xcpt_reg_t *context) xcpt_reg_t stackutil; sinfo("vfork context [%p]:\n", context); - sinfo(" frame pointer:%08lx sp:%08lx pc:%08lx\n", + sinfo(" frame pointer:%lx sp:%lx pc:%lx\n", context[JB_FP], context[JB_SP], context[JB_PC]); /* Allocate and initialize a TCB for the child task. */ @@ -144,9 +144,9 @@ pid_t up_vfork(const xcpt_reg_t *context) newfp = context[JB_FP]; } - sinfo("Old stack top:%08lx SP:%08lx FP:%08lx\n", + sinfo("Old stack top:%lx SP:%lx FP:%lx\n", stacktop, context[JB_SP], context[JB_FP]); - sinfo("New stack top:%08lx SP:%08lx FP:%08lx\n", + sinfo("New stack top:%lx SP:%lx FP:%lx\n", newtop, newsp, newfp); /* Update the stack pointer, frame pointer, and volatile registers. When