diff options
author | Werner Koch <wk@gnupg.org> | 2006-09-14 18:50:33 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-09-14 18:50:33 +0200 |
commit | 03d3322e5fb928d48ea4192fd2f2cc851d791421 (patch) | |
tree | 768acc2e54f6e4abcc405e665bf058aa1556d3f5 /g10/decrypt.c | |
parent | Various fixes and new features. (diff) | |
download | gnupg2-03d3322e5fb928d48ea4192fd2f2cc851d791421.tar.xz gnupg2-03d3322e5fb928d48ea4192fd2f2cc851d791421.zip |
Take advantage of newer gpg-error features.
Diffstat (limited to 'g10/decrypt.c')
-rw-r--r-- | g10/decrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/decrypt.c b/g10/decrypt.c index 9a37283c1..39071427a 100644 --- a/g10/decrypt.c +++ b/g10/decrypt.c @@ -66,7 +66,7 @@ decrypt_message( const char *filename ) errno = EPERM; } if( !fp ) { - rc = gpg_error_from_errno (errno); + rc = gpg_error_from_syserror (); log_error (_("can't open `%s': %s\n"), print_fname_stdin(filename), gpg_strerror (rc)); return rc; |