summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpudetect.c b/cpudetect.c
index 72ecca56c3..e2fdfa75fd 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -87,7 +87,7 @@ void GetCpuCaps( CpuCaps *caps)
caps->isX86=1;
- bzero(caps, sizeof(*caps));
+ memset(caps, 0, sizeof(*caps));
if (!has_cpuid()) {
printf("CPUID not supported!???\n");
return;