diff options
Diffstat (limited to 'g10/tdbdump.c')
-rw-r--r-- | g10/tdbdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/tdbdump.c b/g10/tdbdump.c index 4c3b888cb..b68cde2f6 100644 --- a/g10/tdbdump.c +++ b/g10/tdbdump.c @@ -146,7 +146,7 @@ import_ownertrust( const char *fname ) if (is_secured_file (fileno (fp))) { fclose (fp); - errno = EPERM; + gpg_err_set_errno (EPERM); log_error (_("can't open `%s': %s\n"), fname, strerror(errno) ); return; } |