You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/01/26 20:48:09 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #8242: nuttx: apply misc fixes in code noticed during code review

pkarashchenko commented on code in PR #8242:
URL: https://github.com/apache/nuttx/pull/8242#discussion_r1088323369


##########
fs/shm/shm_unlink.c:
##########
@@ -155,8 +155,8 @@ int shm_unlink(FAR const char *name)
   if (ret < 0)
     {
       set_errno(-ret);
-      return -1;
+      return ERROR;
     }
 
-  return 0;
+  return ret;

Review Comment:
   Here I will fix. My bad.



-- 
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-unsubscribe@nuttx.apache.org

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