summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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