aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-30 13:52:40 +0100
committerLennart Poettering <lennart@poettering.net>2013-10-30 15:35:49 +0100
commit0f8bd8debb0ff7f5bff7738841931f6c41e40bc1 (patch)
tree50ab6e129131fd301e1665b15e8896ea80ff2e74 /src/initctl
parentlibudev: default log_priority to INFO (diff)
downloadsystemd-0f8bd8debb0ff7f5bff7738841931f6c41e40bc1.tar.gz
systemd-0f8bd8debb0ff7f5bff7738841931f6c41e40bc1.tar.bz2
systemd-0f8bd8debb0ff7f5bff7738841931f6c41e40bc1.zip
bus: move ssh support into public API of libsystem-bus
Diffstat (limited to 'src/initctl')
-rw-r--r--src/initctl/initctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c
index 3c5986171..0000d6ccd 100644
--- a/src/initctl/initctl.c
+++ b/src/initctl/initctl.c
@@ -329,7 +329,7 @@ static int server_init(Server *s, unsigned n_sockets) {
s->n_fifos ++;
}
- r = bus_connect_system(&s->bus);
+ r = bus_open_system_systemd(&s->bus);
if (r < 0) {
log_error("Failed to get D-Bus connection: %s", strerror(-r));
r = -EIO;