diff options
Diffstat (limited to 'src/strerror.c')
-rw-r--r-- | src/strerror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strerror.c b/src/strerror.c index 7ed7e31..9dc247b 100644 --- a/src/strerror.c +++ b/src/strerror.c @@ -38,7 +38,7 @@ gpg_strerror (gpg_error_t err) if (code & GPG_ERR_SYSTEM_ERROR) { - int no = gpg_err_code_to_errno (err); + int no = gpg_err_code_to_errno (code); if (no) return strerror (no); else |