From 3962623fe6de5c6d6604db90c8c0869fc3d3b7cf Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 16 Sep 2022 15:05:33 +0900 Subject: Fix _gcry_err_code_to_errno. * src/gcrypt-int.h: Use gpg_err_code_to_errno. -- Signed-off-by: NIIBE Yutaka --- src/gcrypt-int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.1