summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorMike Frysinger2007-06-18 07:12:31 +0000
committerMike Frysinger2007-06-18 07:12:31 +0000
commitebd27aabaab98bef2f2d0fe0d7bf4261e5c3ffcd (patch)
treec8c464ec23c3172e9714fdf407ef6cb344413cc0 /libbb
parentbd7bb299c0e9ee5ff52c9d12b46fb14a907b34da (diff)
downloadbusybox-ebd27aabaab98bef2f2d0fe0d7bf4261e5c3ffcd.zip
busybox-ebd27aabaab98bef2f2d0fe0d7bf4261e5c3ffcd.tar.gz
fix an obvious typo while trying to access the tv_usec member
Diffstat (limited to 'libbb')
-rw-r--r--libbb/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/time.c b/libbb/time.c
index 3e35542..525032d 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)