mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL
This commit is contained in:
@@ -989,7 +989,7 @@ int netdev_ioctl(int sockfd, int cmd, unsigned long arg)
|
||||
/* On failure, set the errno and return -1 */
|
||||
|
||||
errout:
|
||||
errno = -ret;
|
||||
set_errno(-ret);
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user