From: Lennart Poettering Date: Sat, 30 Apr 2011 02:06:13 +0000 (+0200) Subject: util: don't AND cx with cx X-Git-Tag: v26~2 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=ec195f55fb279b0eb6a38bc8ea15ff1afbdcae80;hp=ec43fbc68c5518666b44b262aab7a956e8273013 util: don't AND cx with cx --- diff --git a/TODO b/TODO index 4ba66efec..8d03d950c 100644 --- a/TODO +++ b/TODO @@ -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 b337778d0..9b43c21d0 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) {