chiark / gitweb /
fix zero overwrite
[innduct.git] / statemc.c
index dea31a9018090dfbda7a9fdebf12d57b602f4f29..dda412d067ce6993c6d3e10f718f27ba77629ed4 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);