mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 07:22:04 +08:00
Fix tvtohz() return value
This commit is contained in:
@@ -50,5 +50,5 @@ tvtohz(struct timeval *tv)
|
||||
ts.tv_sec = tv->tv_sec;
|
||||
ts.tv_nsec = tv->tv_usec * 1000;
|
||||
|
||||
(int) _Timespec_To_ticks( &ts );
|
||||
return (int) _Timespec_To_ticks( &ts );
|
||||
}
|
||||
|
Reference in New Issue
Block a user