Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2016 22:17:41 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r306566 - head/usr.bin/kdump
Message-ID:  <201610012217.u91MHfvf037517@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Sat Oct  1 22:17:40 2016
New Revision: 306566
URL: https://svnweb.freebsd.org/changeset/base/306566

Log:
  Don't declare the 'temp' timeval as static.

Modified:
  head/usr.bin/kdump/kdump.c

Modified: head/usr.bin/kdump/kdump.c
==============================================================================
--- head/usr.bin/kdump/kdump.c	Sat Oct  1 22:12:33 2016	(r306565)
+++ head/usr.bin/kdump/kdump.c	Sat Oct  1 22:17:40 2016	(r306566)
@@ -562,7 +562,8 @@ void
 dumpheader(struct ktr_header *kth)
 {
 	static char unknown[64];
-	static struct timeval prevtime, prevtime_e, temp;
+	static struct timeval prevtime, prevtime_e;
+	struct timeval temp;
 	const char *type;
 	const char *sign;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610012217.u91MHfvf037517>