From ebd27aabaab98bef2f2d0fe0d7bf4261e5c3ffcd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 18 Jun 2007 07:12:31 +0000 Subject: [PATCH] fix an obvious typo while trying to access the tv_usec member --- libbb/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)