Remove unneeded struct timezone.

We're only interested in a timestamp -- not the timezone.
This commit is contained in:
Ed Schouten 2012-09-01 10:48:38 +00:00
parent 4a8914c627
commit 21fe0af7aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239986

View File

@ -1076,9 +1076,8 @@ print_events(void)
{
char *time;
struct timeval tv;
struct timezone tz;
gettimeofday(&tv, &tz);
gettimeofday(&tv, NULL);
time = (char *)ctime((time_t *)&tv);
printf("Current time:\t\t%s", time);
if (status.cntrs.reset_time.tv_sec < 1000)