diff options
Diffstat (limited to 'g10/keyedit.c')
-rw-r--r-- | g10/keyedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index e9b92b232..a5a3be068 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -1971,7 +1971,7 @@ keyedit_menu( const char *username, strlist_t locusr, { iobuf_close (a); a = NULL; - errno = EPERM; + gpg_err_set_errno (EPERM); } if (!a) { |