1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-18 00:49:50 +02: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:
Werner Koch 2012-01-25 14:59:01 +01:00
parent 15eddd217f
commit 2be7818c6d

View File

@ -1868,7 +1868,7 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
ret = npth_attr_init(&tattr);
if (ret)
log_fatal ("error allocating thread attributes: %s\n",
gpg_strerror (ret));
strerror (ret));
npth_attr_setdetachstate (&tattr, NPTH_CREATE_DETACHED);
#ifndef HAVE_W32_SYSTEM