about summary refs log tree commit diff
path: root/src/cache/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache/cache.c')
-rw-r--r--src/cache/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache/cache.c b/src/cache/cache.c
index 186450c..7080240 100644
--- a/src/cache/cache.c
+++ b/src/cache/cache.c
@@ -21,7 +21,7 @@ void cache_dump (void)
     if (!dcache_save(&cache, g->dumpfile))
     {
       strerr_warnwu2sys("save cache contents to ", g->dumpfile) ;
-      unlink_void(file) ;
+      unlink_void(g->dumpfile) ;
     }
   }
 }