From c8150407a11fc7cbc7c5db47b87a76d5bd6174bc Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Wed, 18 Mar 2015 09:25:16 -0400 Subject: [PATCH] No need to sizeof a size_t --- 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 f45967228..e0a7234dd 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(ressize)); + memset(res, 0, ressize); /* // Find out where the faults will be injected