LibC: Fix timeval field name

This commit is contained in:
2024-02-14 03:36:18 +02:00
parent 00662bad46
commit c18d926174
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ int select(int nfds, fd_set* __restrict readfds, fd_set* __restrict writefds, fd
if (timeout)
{
ts.tv_sec = timeout->tv_sec;
ts.tv_nsec = timeout->tc_usec * 1000;
ts.tv_nsec = timeout->tv_usec * 1000;
pts = &ts;
}