diff options
author | Werner Koch <[email protected]> | 2012-01-25 13:59:01 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-01-25 13:59:01 +0000 |
commit | 2be7818c6d916a69ffdf88cce32960949a56e893 (patch) | |
tree | 4f8680ba69fa631ae43ea92a80178e9c3cb586d7 | |
parent | Re-indent overlong lines. (diff) | |
download | gnupg-2be7818c6d916a69ffdf88cce32960949a56e893.tar.gz gnupg-2be7818c6d916a69ffdf88cce32960949a56e893.zip |
Fix strerror vs. gpg_strerror usage.
This bug was introduced by the migration to npth.
* agent/gpg-agent.c (handle_connections): Use strerror.
-rw-r--r-- | agent/gpg-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 2d8d9954e..bc5a6cd1b 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -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 |