summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-09-16 15:05:33 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-09-16 15:05:33 +0900
commit3962623fe6de5c6d6604db90c8c0869fc3d3b7cf (patch)
treed9bbd6b786aec6eb3d71ece72e76bd70b1a8c158 /src
parent000c50e0781920d691cc60c345a7bd4d770e92d5 (diff)
downloadlibgcrypt-3962623fe6de5c6d6604db90c8c0869fc3d3b7cf.tar.gz
Fix _gcry_err_code_to_errno.
* src/gcrypt-int.h: Use gpg_err_code_to_errno. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'src')
-rw-r--r--src/gcrypt-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gcrypt-int.h b/src/gcrypt-int.h
index c3ca5d71..87d31bcb 100644
--- a/src/gcrypt-int.h
+++ b/src/gcrypt-int.h
@@ -302,7 +302,7 @@ _gcry_err_code_from_errno (int err)
static inline int
_gcry_err_code_to_errno (gcry_err_code_t code)
{
- return gpg_err_code_from_errno (code);
+ return gpg_err_code_to_errno (code);
}
/* Return an error value with the error source SOURCE and the system