summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-04-04 15:08:40 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-04 15:34:53 +0200
commit4466ee6a7151b30b7738b09c4c21ffa3872a5047 (patch)
tree7b32c26226ca828934cac642fe542aca95c00ce2 /src/manager.c
parentdb019b8dd206844dcf5fde661256dc71fcc06fef (diff)
manager: fd must be int, not char
This should fix the crash reported by Dan Horak on s390x which does not have VTs.
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index dae746cae5..9fc854b661 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);