util: don't AND cx with cx

This commit is contained in:
Lennart Poettering
2011-04-30 04:07:28 +02:00
parent ec43fbc68c
commit ec195f55fb
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -4011,7 +4011,7 @@ int detect_vm(const char **id) {
: "0" (eax)
);
hypervisor = !!(ecx & ecx & 0x80000000U);
hypervisor = !!(ecx & 0x80000000U);
if (hypervisor) {