aboutsummaryrefslogtreecommitdiffstats
path: root/agent/preset-passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--agent/preset-passphrase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/preset-passphrase.c b/agent/preset-passphrase.c
index 29fdfe850..549ecc327 100644
--- a/agent/preset-passphrase.c
+++ b/agent/preset-passphrase.c
@@ -245,7 +245,7 @@ main (int argc, char **argv)
/* Tell simple-pwquery about the the standard socket name. */
{
- char *tmp = make_filename (gnupg_homedir (), GPG_AGENT_SOCK_NAME, NULL);
+ char *tmp = make_filename (gnupg_socketdir (), GPG_AGENT_SOCK_NAME, NULL);
simple_pw_set_socket (tmp);
xfree (tmp);
}