xiaoxiang781216 commented on code in PR #7160:
URL: https://github.com/apache/incubator-nuttx/pull/7160#discussion_r977935749


##########
libs/libc/misc/lib_cxx_initialize.c:
##########
@@ -71,11 +71,11 @@ void lib_cxx_initialize(void)
 #else
       initializer_t *initp;
 
-      sinfo("_sinit: %p _einit: %p\n", &_sinit, &_einit);
+      sinfo("_sinit: %p _einit: %p\n", _sinit, _einit);
 
       /* Visit each entry in the initialization table */
 
-      for (initp = &_sinit; initp != &_einit; initp++)
+      for (initp = _sinit; initp != _einit; initp++)

Review Comment:
   Done.



-- 
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