aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-10-21 14:59:38 +0000
committerWerner Koch <[email protected]>2020-10-21 15:00:32 +0000
commit7e22e08e2ab09cd3c2317f5e80e8ee47d46eff4b (patch)
tree3996132036db12b71643a087bee88515cb4bf8dc /dirmngr/dirmngr.c
parentw32: Make gnupg_remove and gnupg_rename_file Unicode aware (diff)
downloadgnupg-7e22e08e2ab09cd3c2317f5e80e8ee47d46eff4b.tar.gz
gnupg-7e22e08e2ab09cd3c2317f5e80e8ee47d46eff4b.zip
common: New functions gnupg_opendir et al.
* common/sysutils.h (struct gnupg_dirent_s): New. * common/sysutils.c: Include dirent.h. (struct gnupg_dir_s): New. (gnupg_opendir, gnupg_readdir, gnupg_closedir): New. Change all callers of opendir, readdir, and closedir to use these functions. -- GnuPG-bug-id: 5098
Diffstat (limited to 'dirmngr/dirmngr.c')
-rw-r--r--dirmngr/dirmngr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index 838ab9487..06bb4bae6 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -1305,7 +1305,7 @@ main (int argc, char **argv)
{
log_error (_("error binding socket to '%s': %s\n"),
serv_addr.sun_path,
- gpg_strerror (gpg_error_from_errno (errno)));
+ gpg_strerror (gpg_error_from_syserror ()));
assuan_sock_close (fd);
dirmngr_exit (1);
}