diff options
Diffstat (limited to '')
-rw-r--r-- | common/miscellaneous.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/miscellaneous.c b/common/miscellaneous.c index da74f65bc..364f13489 100644 --- a/common/miscellaneous.c +++ b/common/miscellaneous.c @@ -99,7 +99,7 @@ is_file_compressed (const char *s, int *ret_rc) a = iobuf_open( s ); if ( a == NULL ) { - *ret_rc = gpg_error_from_errno (errno); + *ret_rc = gpg_error_from_syserror (); return 0; } |