anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0062-logind-fix-bus-introspection-data-for-TakeControl.patch

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