Fix memset invocation in rx/event-t.c
[openafs.git] / tests / rx / event-t.c
index 3e7ab0a..2812fa5 100644 (file)
@@ -105,7 +105,7 @@ main(void)
     pthread_mutex_init(&eventMutex, NULL);
     pthread_cond_init(&eventCond, NULL);
 
-    memset(events, sizeof(events), 0);
+    memset(events, 0, sizeof(events));
     pthread_mutex_init(&eventListMutex, NULL);
 
     /* Start up the event system */