pussuw commented on code in PR #16361:
URL: https://github.com/apache/nuttx/pull/16361#discussion_r2086063889


##########
fs/inode/fs_files.c:
##########
@@ -139,26 +198,26 @@ static int files_extend(FAR struct filelist *list, size_t 
row)
       return -EMFILE;
     }
 
-  files = fs_heap_malloc(sizeof(FAR struct file *) * row);
-  DEBUGASSERT(files);
-  if (files == NULL)
+  fds = fs_heap_malloc(sizeof(FAR struct fd *) * row);
+  DEBUGASSERT(fds);
+  if (fds == NULL)
     {
       return -ENFILE;

Review Comment:
   Ditto



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