diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-30 04:06:13 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-30 04:07:28 +0200 |
commit | ec195f55fb279b0eb6a38bc8ea15ff1afbdcae80 (patch) | |
tree | e01ef358ae193ee7513a8e368c143319597e7fa9 | |
parent | ec43fbc68c5518666b44b262aab7a956e8273013 (diff) | |
download | systemd-ec195f55fb279b0eb6a38bc8ea15ff1afbdcae80.tar.gz |
util: don't AND cx with cx
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | src/util.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -37,6 +37,11 @@ Features: * plymouth.enable=0 +* include /usr/local/lib/tmpfiles.d in tmpfiles tool as search path + (and prefix/lib, in case it isn't one of the listed ones) + +* POSIX mqueue support in .socket units + * introduce dbus calls for enabling/disabling a service * support notifications for services being enabled/disabled 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) { |