diff cpudetect.c @ 3700:91f801a94a59

memset is more portable than bzero ("BSD"ism)
author pl
date Mon, 24 Dec 2001 10:35:43 +0000
parents c4ca766a2d05
children 6659db99f200
line wrap: on
line diff
--- a/cpudetect.c	Mon Dec 24 10:27:28 2001 +0000
+++ b/cpudetect.c	Mon Dec 24 10:35:43 2001 +0000
@@ -87,7 +87,7 @@
 
 	caps->isX86=1;
 
-	bzero(caps, sizeof(*caps));
+	memset(caps, 0, sizeof(*caps));
 	if (!has_cpuid()) {
 	    printf("CPUID not supported!???\n");
 	    return;