httpd: fix CGI handling bug (we were closing wrong fd).
[oweals/busybox.git] / libbb / time.c
index 3e35542f3c6948f61870c8b477d4d6e08feee160..525032d4dbc257d0b4aea92f118457616bcfd005 100644 (file)
@@ -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)