[systemd-commits] src/util.c TODO

Lennart Poettering lennart at kemper.freedesktop.org
Fri Apr 29 19:08:47 PDT 2011


 TODO       |    5 +++++
 src/util.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit ec195f55fb279b0eb6a38bc8ea15ff1afbdcae80
Author: Lennart Poettering <lennart at poettering.net>
Date:   Sat Apr 30 04:06:13 2011 +0200

    util: don't AND cx with cx

diff --git a/TODO b/TODO
index 4ba66ef..8d03d95 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 b337778..9b43c21 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) {
 



More information about the systemd-commits mailing list