fix an obvious typo while trying to access the tv_usec member

This commit is contained in:
Mike Frysinger 2007-06-18 07:12:31 +00:00
parent bd7bb299c0
commit ebd27aabaa

View File

@ -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)