[systemd-devel] [PATCH] manager: fd must be int, not char
Michal Schmidt
mschmidt at redhat.com
Mon Apr 4 06:08:40 PDT 2011
This should fix the crash reported by Dan Horak on s390x which
does not have VTs.
---
src/manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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-devel
mailing list