summaryrefslogtreecommitdiff
path: root/src/login/pam_systemd.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-28 16:05:43 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-28 16:17:33 +0100
commite3afaf6b8e540d4c0dc5a7f0d5178ce29c1ac2a5 (patch)
tree1da3751b04d154d7474acc51895f7c54608a521a /src/login/pam_systemd.c
parent3acc1dafd14420872f7f13319260eeb5d62c2533 (diff)
sd-bus: rename default bus address constants, they aren't "paths" but "addresses"
Diffstat (limited to 'src/login/pam_systemd.c')
-rw-r--r--src/login/pam_systemd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c
index 4974c51338..111e2b7c4c 100644
--- a/src/login/pam_systemd.c
+++ b/src/login/pam_systemd.c
@@ -183,8 +183,7 @@ static int export_legacy_dbus_address(
if (access("/sys/fs/kdbus", F_OK) < 0)
return PAM_SUCCESS;
- if (asprintf(&s, KERNEL_USER_BUS_FMT ";" UNIX_USER_BUS_FMT,
- uid, runtime) < 0) {
+ if (asprintf(&s, KERNEL_USER_BUS_ADDRESS_FMT ";" UNIX_USER_BUS_ADDRESS_FMT, uid, runtime) < 0) {
pam_syslog(handle, LOG_ERR, "Failed to set bus variable.");
return PAM_BUF_ERR;
}