pkarashchenko commented on a change in pull request #5473:
URL: https://github.com/apache/incubator-nuttx/pull/5473#discussion_r806139302



##########
File path: arch/sim/src/sim/up_vfork.c
##########
@@ -93,8 +93,8 @@ pid_t up_vfork(const xcpt_reg_t *context)
   xcpt_reg_t stackutil;
 
   sinfo("vfork context [%p]:\n", context);
-  sinfo("  frame pointer:%08" PRIxPTR " sp:%08" PRIxPTR " pc:%08" PRIxPTR ""
-        "\n", context[JB_FP], context[JB_SP], context[JB_PC]);
+  sinfo("  frame pointer:%08lx sp:%08lx pc:%08lx\n",

Review comment:
       Should it be `%08` always or `%08` vs `%16` depending on x86 vs x86_64?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to