mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-26 06:30:30 +08:00
Fix tvtohz() return value
This commit is contained in:
parent
0a57e1db23
commit
e6374731ff
@ -50,5 +50,5 @@ tvtohz(struct timeval *tv)
|
|||||||
ts.tv_sec = tv->tv_sec;
|
ts.tv_sec = tv->tv_sec;
|
||||||
ts.tv_nsec = tv->tv_usec * 1000;
|
ts.tv_nsec = tv->tv_usec * 1000;
|
||||||
|
|
||||||
(int) _Timespec_To_ticks( &ts );
|
return (int) _Timespec_To_ticks( &ts );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user