chiark / gitweb /
fix zero overwrite
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 29 May 2010 17:16:12 +0000 (18:16 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 29 May 2010 17:16:12 +0000 (18:16 +0100)
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);