projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd7bb29
)
fix an obvious typo while trying to access the tv_usec member
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 18 Jun 2007 07:12:31 +0000
(07:12 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 18 Jun 2007 07:12:31 +0000
(07:12 -0000)
libbb/time.c
patch
|
blob
|
history
diff --git
a/libbb/time.c
b/libbb/time.c
index 3e35542f3c6948f61870c8b477d4d6e08feee160..525032d4dbc257d0b4aea92f118457616bcfd005 100644
(file)
--- 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)