From 0f8bd8debb0ff7f5bff7738841931f6c41e40bc1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 30 Oct 2013 13:52:40 +0100 Subject: bus: move ssh support into public API of libsystem-bus --- src/update-utmp/update-utmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/update-utmp') diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index f5c143d39d..61db1e96d3 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -299,7 +299,7 @@ int main(int argc, char *argv[]) { errno != EAFNOSUPPORT && errno != EPROTONOSUPPORT) log_error("Failed to connect to audit log: %m"); #endif - r = bus_connect_system(&c.bus); + r = bus_open_system_systemd(&c.bus); if (r < 0) { log_error("Failed to get D-Bus connection: %s", strerror(-r)); r = -EIO; -- cgit v1.2.3