<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- a/src/rrd_tool.c
+++ b/src/rrd_tool.c
@@ -225,11 +225,8 @@ int main(int argc, char *argv[])
 	  struct rusage  myusage;
 	  struct timeval starttime;
 	  struct timeval currenttime;
-	  struct timezone tz;
 
-	    tz.tz_minuteswest =0;
-	    tz.tz_dsttime=0;
-	    gettimeofday(&amp;starttime,&amp;tz);
+	    gettimeofday(&amp;starttime,NULL);
 #endif
 
 	    while (fgets(aLine, sizeof(aLine)-1, stdin)){
@@ -252,7 +249,7 @@ int main(int argc, char *argv[])
 
 #if HAVE_GETRUSAGE
 		getrusage(RUSAGE_SELF,&amp;myusage);
-		gettimeofday(&amp;currenttime,&amp;tz);
+		gettimeofday(&amp;currenttime,NULL);
 		printf("OK u:%1.2f s:%1.2f r:%1.2f\n",
 		       (double)myusage.ru_utime.tv_sec+
 		       (double)myusage.ru_utime.tv_usec/1000000.0,
</pre></body></html>