svn commit: r306566 - head/usr.bin/kdump

John Baldwin jhb at FreeBSD.org
Sat Oct 1 22:17:42 UTC 2016


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;
 


More information about the svn-src-head mailing list