about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-16 09:35:35 +0200
committervan Hauser <vh@thc.org>2020-10-16 09:35:35 +0200
commitd5c3b4bafdae8a68e7f63c0afdd1cc5820636f2d (patch)
treeff7897460e2cea04938038b30231819eb9f410fd /src/afl-showmap.c
parentb82e9ad3dbf3068223498445ff5e7f4ea63ce6f7 (diff)
downloadafl++-d5c3b4bafdae8a68e7f63c0afdd1cc5820636f2d.tar.gz
directly add new queue to cache
Diffstat (limited to 'src/afl-showmap.c')
-rw-r--r--src/afl-showmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 822e62df..6213c447 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -1017,7 +1017,7 @@ int main(int argc, char **argv_orig, char **envp) {
         alloc_printf("%s/.afl-showmap-temp-%u", use_dir, (u32)getpid());
     unlink(stdin_file);
     atexit(at_exit_handler);
-    afl->fsrv.out_file = stdin_file;
+    fsrv->out_file = stdin_file;
     fsrv->out_fd = open(stdin_file, O_RDWR | O_CREAT | O_EXCL, 0600);
     if (fsrv->out_fd < 0) { PFATAL("Unable to create '%s'", out_file); }