From 09614bba4182c6d8b3eb4a914dfc3c16135ee76d Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Wed, 18 Mar 2015 09:04:01 -0400 Subject: [PATCH] memset the real size of res --- minix/commands/swifi/systest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minix/commands/swifi/systest.c b/minix/commands/swifi/systest.c index 66277c748..f75f49f48 100644 --- a/minix/commands/swifi/systest.c +++ b/minix/commands/swifi/systest.c @@ -73,7 +73,7 @@ main(int argc, char * argv[]) goto Cleanup; } - memset(res, 0, sizeof(res)); + memset(res, 0, sizeof(*res)); /* // Find out where the faults will be injected