summaryrefslogtreecommitdiff
path: root/source3/lib/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r--source3/lib/time.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index 749af37cae..f8a1538910 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -153,7 +153,6 @@ void get_process_uptime(struct timeval *ret_time)
GetTimeOfDay(&time_now_hires);
ret_time->tv_sec = time_now_hires.tv_sec - start_time_hires.tv_sec;
- ret_time->tv_usec = time_now_hires.tv_usec - start_time_hires.tv_usec;
if (time_now_hires.tv_usec < start_time_hires.tv_usec) {
ret_time->tv_sec -= 1;
ret_time->tv_usec = 1000000 + (time_now_hires.tv_usec - start_time_hires.tv_usec);