Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL

This commit is contained in:
Gregory Nutt
2015-07-05 11:18:56 -06:00
parent d8d4ab8c10
commit fca919f3d2
16 changed files with 22 additions and 21 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ int arp_wait(FAR struct arp_notify_s *notify, FAR struct timespec *timeout)
*/
ret = net_timedwait(&notify->nt_sem, &abstime);
errcode = ((ret < 0) ? errno : 0);
errcode = ((ret < 0) ? get_errno() : 0);
}
while (ret < 0 && errcode == EINTR);