summaryrefslogtreecommitdiffstats
path: root/common/miscellaneous.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-09-14 18:50:33 +0200
committerWerner Koch <wk@gnupg.org>2006-09-14 18:50:33 +0200
commit03d3322e5fb928d48ea4192fd2f2cc851d791421 (patch)
tree768acc2e54f6e4abcc405e665bf058aa1556d3f5 /common/miscellaneous.c
parentVarious fixes and new features. (diff)
downloadgnupg2-03d3322e5fb928d48ea4192fd2f2cc851d791421.tar.xz
gnupg2-03d3322e5fb928d48ea4192fd2f2cc851d791421.zip
Take advantage of newer gpg-error features.
Diffstat (limited to 'common/miscellaneous.c')
-rw-r--r--common/miscellaneous.c2
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;
}