mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL
This commit is contained in:
@@ -204,7 +204,7 @@ int arp_wait(FAR struct arp_notify_s *notify, FAR struct timespec *timeout)
|
||||
*/
|
||||
|
||||
ret = net_timedwait(¬ify->nt_sem, &abstime);
|
||||
errcode = ((ret < 0) ? errno : 0);
|
||||
errcode = ((ret < 0) ? get_errno() : 0);
|
||||
}
|
||||
while (ret < 0 && errcode == EINTR);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user