chiark / gitweb /
fix zero overwrite
[innduct.git] / statemc.c
index dea31a9..dda412d 100644 (file)
--- a/statemc.c
+++ b/statemc.c
@@ -251,7 +251,7 @@ static void notice_processed_counts(Counts *counts, int completed,
        RESULT_COUNTS(RCI_NOTHING,  RCI_TRIPLE_VALS)
        );
 
-  memset(&counts, 0, sizeof(*counts));
+  memset(counts, 0, sizeof(*counts));
 
   free(inprog);
   free(autodefer);