diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c index 98813d5af..3732b39b8 100644 --- a/tools/symcryptrun.c +++ b/tools/symcryptrun.c @@ -1008,7 +1008,7 @@ main (int argc, char **argv) /* Tell simple-pwquery about the the standard socket name. */ { - char *tmp = make_filename (gnupg_socketgdir (), GPG_AGENT_SOCK_NAME, NULL); + char *tmp = make_filename (gnupg_socketdir (), GPG_AGENT_SOCK_NAME, NULL); simple_pw_set_socket (tmp); xfree (tmp); }