richardphibel / rpms / systemd

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