summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index b337778d0e..9b43c21d08 100644
--- a/src/util.c
+++ b/src/util.c
@@ -4011,7 +4011,7 @@ int detect_vm(const char **id) {
: "0" (eax)
);
- hypervisor = !!(ecx & ecx & 0x80000000U);
+ hypervisor = !!(ecx & 0x80000000U);
if (hypervisor) {