You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/21 10:17:03 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5807: sys/type.h: Change pid_t from int16_t to int

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



##########
File path: fs/procfs/fs_procfsproc.c
##########
@@ -1445,11 +1445,11 @@ static int proc_open(FAR struct file *filep, FAR const char *relpath,
 
   ptr++;
 
-  /* A valid PID would be in the range of 0-32767 (0 is reserved for the
+  /* A valid PID would be in the range of 0-INT_MAX (0 is reserved for the

Review comment:
       ```suggestion
     /* A valid PID would be in the range of 0 .. INT_MAX-1 (0 is reserved for the
   ```
   




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