mirror of
https://git.busybox.net/busybox
synced 2026-02-22 19:50:59 +00:00
fix an obvious typo while trying to access the tv_usec member
This commit is contained in:
parent
bd7bb299c0
commit
ebd27aabaa
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ unsigned long long monotonic_us(void)
|
|||
{
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, NULL);
|
||||
return tv.tv_sec * 1000000ULL + tv_usec;
|
||||
return tv.tv_sec * 1000000ULL + tv.tv_usec;
|
||||
}
|
||||
|
||||
unsigned monotonic_sec(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue