[systemd-commits] src/manager.c

Lennart Poettering lennart at kemper.freedesktop.org
Mon Apr 4 06:35:02 PDT 2011


 src/manager.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4466ee6a7151b30b7738b09c4c21ffa3872a5047
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Mon Apr 4 15:08:40 2011 +0200

    manager: fd must be int, not char
    
    This should fix the crash reported by Dan Horak on s390x which
    does not have VTs.

diff --git a/src/manager.c b/src/manager.c
index dae746c..9fc854b 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -127,7 +127,7 @@ static int manager_setup_notify(Manager *m) {
 }
 
 static int enable_special_signals(Manager *m) {
-        char fd;
+        int fd;
 
         assert(m);
 



More information about the systemd-commits mailing list