diff options
Diffstat (limited to '')
-rw-r--r-- | src/engine-gpgconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine-gpgconf.c b/src/engine-gpgconf.c index b50b6351..96c6b3db 100644 --- a/src/engine-gpgconf.c +++ b/src/engine-gpgconf.c @@ -96,7 +96,7 @@ gpgconf_new (void **engine, const char *file_name, const char *home_dir) gpgconf = calloc (1, sizeof *gpgconf); if (!gpgconf) - return gpg_error_from_errno (errno); + return gpg_error_from_syserror (); gpgconf->file_name = strdup (file_name ? file_name : _gpgme_get_gpgconf_path ()); |