summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent
diff options
context:
space:
mode:
Diffstat (limited to 'src/tty-ask-password-agent')
-rw-r--r--src/tty-ask-password-agent/tty-ask-password-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c
index 843c302bf4..e17140ea0c 100644
--- a/src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent/tty-ask-password-agent.c
@@ -480,7 +480,7 @@ static int show_passwords(void) {
if (!startswith(de->d_name, "ask."))
continue;
- p = strappend("/run/systemd/ask-password/", de->d_name);
+ p = path_join("/run/systemd/ask-password", de->d_name);
if (!p)
return log_oom();