aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/time.c b/libbb/time.c
index 3e35542f3..525032d4d 100644
--- a/libbb/time.c
+++ b/libbb/time.c
@@ -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)