diff options
Diffstat (limited to 'src/login/inhibit.c')
-rw-r--r-- | src/login/inhibit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c index 10de54b221..48c2ec401f 100644 --- a/src/login/inhibit.c +++ b/src/login/inhibit.c @@ -233,7 +233,7 @@ int main(int argc, char *argv[]) { if (r == 0) return EXIT_SUCCESS; - r = sd_bus_open_system(&bus); + r = sd_bus_default_system(&bus); if (r < 0) { log_error("Failed to connect to bus: %s", strerror(-r)); return EXIT_FAILURE; |