about summary refs log tree commit diff
path: root/src/afl-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-common.c')
-rw-r--r--src/afl-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-common.c b/src/afl-common.c
index e01bde3c..dabeeedd 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -467,8 +467,8 @@ void read_bitmap(u8 *fname, u8 *map, size_t len) {
 
 u64 get_cur_time(void) {
 
-  struct timeval  tv;
-  struct timezone tz;
+  static struct timeval  tv;
+  static struct timezone tz;
 
   gettimeofday(&tv, &tz);