From e3afaf6b8e540d4c0dc5a7f0d5178ce29c1ac2a5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 28 Nov 2014 16:05:43 +0100 Subject: sd-bus: rename default bus address constants, they aren't "paths" but "addresses" --- src/login/pam_systemd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/login') 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; } -- cgit v1.2.3-54-g00ecf