← Commit list

ebd27aaba

Mike Frysinger
Mike Frysinger
2007-06-18
FAILED Duration: 10s

Subject

fix an obvious typo while trying to access the tv_usec member

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/time.c+1 -1
@@ -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)