fix an obvious typo while trying to access the tv_usec member
authorMike Frysinger <vapier@gentoo.org>
Mon, 18 Jun 2007 07:12:31 +0000 (07:12 -0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Jun 2007 07:12:31 +0000 (07:12 -0000)
libbb/time.c

index 3e35542f3c6948f61870c8b477d4d6e08feee160..525032d4dbc257d0b4aea92f118457616bcfd005 100644 (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)