mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
Fix strerror vs. gpg_strerror usage.
This bug was introduced by the migration to npth. * agent/gpg-agent.c (handle_connections): Use strerror.
This commit is contained in:
parent
15eddd217f
commit
2be7818c6d
@ -1868,7 +1868,7 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
|
|||||||
ret = npth_attr_init(&tattr);
|
ret = npth_attr_init(&tattr);
|
||||||
if (ret)
|
if (ret)
|
||||||
log_fatal ("error allocating thread attributes: %s\n",
|
log_fatal ("error allocating thread attributes: %s\n",
|
||||||
gpg_strerror (ret));
|
strerror (ret));
|
||||||
npth_attr_setdetachstate (&tattr, NPTH_CREATE_DETACHED);
|
npth_attr_setdetachstate (&tattr, NPTH_CREATE_DETACHED);
|
||||||
|
|
||||||
#ifndef HAVE_W32_SYSTEM
|
#ifndef HAVE_W32_SYSTEM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user