fix an obvious typo while trying to access the tv_usec member

This commit is contained in:
Mike Frysinger committed 2007-06-18 07:12:31 +00:00
1 parent bd7bb299c0
commit ebd27aabaa
1 file changed
+1 -1
+1 -1
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)