jingfei195887 commented on code in PR #17839:
URL: https://github.com/apache/nuttx/pull/17839#discussion_r2686121915


##########
fs/driver/fs_blockproxy.c:
##########
@@ -149,17 +147,18 @@ int block_proxy(FAR struct file *filep, FAR const char 
*blkdev, int oflags)
 {
   struct file temp;
   FAR char *chardev;
+  bool readonly;
   int ret;
 
   DEBUGASSERT(blkdev);
 
   /* Create a unique temporary file name for the character device */
 
-  chardev = unique_chardev();
-  if (chardev == NULL)
+  ret = unique_chardev(chardev, sizeof(chardev));

Review Comment:
   this will be fixed by use char chardev[16]



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to