summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-30 04:06:13 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-30 04:07:28 +0200
commitec195f55fb279b0eb6a38bc8ea15ff1afbdcae80 (patch)
treee01ef358ae193ee7513a8e368c143319597e7fa9 /src
parentec43fbc68c5518666b44b262aab7a956e8273013 (diff)
util: don't AND cx with cx
Diffstat (limited to 'src')
-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) {