dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
65878a
From 52fe02b97504dfefb89db203cf7c6e93679ff681 Mon Sep 17 00:00:00 2001
65878a
From: Lennart Poettering <lennart@poettering.net>
65878a
Date: Fri, 4 Oct 2013 21:16:40 +0200
65878a
Subject: [PATCH] logind: fix bus introspection data for TakeControl()
65878a
65878a
---
65878a
 src/login/logind-session-dbus.c | 2 +-
65878a
 1 file changed, 1 insertion(+), 1 deletion(-)
65878a
65878a
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
65878a
index 5f6bafb..be4e01c 100644
65878a
--- a/src/login/logind-session-dbus.c
65878a
+++ b/src/login/logind-session-dbus.c
65878a
@@ -41,7 +41,7 @@
65878a
         "   <arg name=\"who\" type=\"s\"/>\n"                           \
65878a
         "   <arg name=\"signal\" type=\"s\"/>\n"                        \
65878a
         "  </method>\n"                                                 \
65878a
-        "  <method name=\"TakeControl\"/>\n"                            \
65878a
+        "  <method name=\"TakeControl\">\n"                             \
65878a
         "   <arg name=\"force\" type=\"b\"/>\n"                         \
65878a
         "  </method>\n"                                                 \
65878a
         "  <method name=\"ReleaseControl\"/>\n"                         \