aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/session.c
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-05-02 18:13:17 +1200
committerScott Anderson <ascent12@hotmail.com>2017-05-02 18:13:17 +1200
commite446a5300b742dd8a7f403bf96d1137e91ba1b11 (patch)
tree8869c45edca511f3743046003725fecbc5d77c9d /backend/drm/session.c
parente9d716fc0c294849b627b35f6ea15f60fbdeb522 (diff)
Added example.
Diffstat (limited to 'backend/drm/session.c')
-rw-r--r--backend/drm/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/session.c b/backend/drm/session.c
index 49223334..073f822b 100644
--- a/backend/drm/session.c
+++ b/backend/drm/session.c
@@ -194,7 +194,7 @@ bool wlr_session_start(struct wlr_session *session)
sprintf(session->path, fmt, session->id);
- ret = sd_bus_open_system(&session->bus);
+ ret = sd_bus_default_system(&session->bus);
if (ret < 0) {
wlr_log(L_ERROR, "Failed to open DBus connection: %s", strerror(-ret));
goto error;