xiaoxiang781216 commented on code in PR #8728:
URL: https://github.com/apache/nuttx/pull/8728#discussion_r1127318356


##########
net/local/local_sockif.c:
##########
@@ -833,7 +833,7 @@ static int local_close(FAR struct socket *psock)
 static int local_ioctl(FAR struct socket *psock, int cmd, unsigned long arg)
 {
   FAR struct local_conn_s *conn;
-  int ret = OK;
+  int ret = -ENOTTY;

Review Comment:
   Ok, the patch looks good, please remove the default case. BTW, 
https://github.com/apache/nuttx/pull/8751 will fix some problem.



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