aboutsummaryrefslogtreecommitdiff
path: root/src/libnpass/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnpass/gpg.c')
-rw-r--r--src/libnpass/gpg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libnpass/gpg.c b/src/libnpass/gpg.c
index 671397e..0565f0c 100644
--- a/src/libnpass/gpg.c
+++ b/src/libnpass/gpg.c
@@ -15,8 +15,8 @@
__gpg_err_ret = EPERM; \
\
gpg_cleanup(); \
- err_ret(-__gpg_err_ret, "%s: %s", gpgme_strsource(err), \
- gpgme_strerror(err)); \
+ return_err(-__gpg_err_ret, "%s: %s", gpgme_strsource(err), \
+ gpgme_strerror(err)); \
} while (0)
static gpgme_ctx_t ctx = NULL;
@@ -107,7 +107,7 @@ out_gpg_cleanup:
gpg_cleanup();
if (r < 0)
- err_ret(-errno, "%s", strerror(errno));
+ return_err(-errno, "%s", strerror(errno));
else
return 0;
}
@@ -152,7 +152,7 @@ out_gpg_cleanup:
gpg_cleanup();
if (r < 0)
- err_ret(-errno, "%s", strerror(errno));
+ return_err(-errno, "%s", strerror(errno));
else
return 0;
}