Fixed a small possible bug in the R5 select() implementation for the net kit.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1782 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-10-30 03:44:52 +00:00
parent dbf1da160b
commit e7825532f5
+1 -1
View File
@@ -113,7 +113,7 @@ _EXPORT int select(int nbits, struct fd_set * rbits,
if (tv) {
bigtime_t timeout;
timeout = tv->tv_sec * 1000000 + tv->tv_usec;
timeout = tv->tv_sec * 1000000LL + tv->tv_usec;
status = acquire_sem_etc(rss->wakeup, 1, B_RELATIVE_TIMEOUT | B_CAN_INTERRUPT, timeout);
} else
status = acquire_sem(rss->wakeup);