From dda41f2078ad9bd5328a3057d131f310af1a9af0 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Sat, 1 Oct 2016 22:17:40 +0000 Subject: [PATCH] Don't declare the 'temp' timeval as static. --- usr.bin/kdump/kdump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 519b0a09e235..35daf2804f61 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -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;