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