diff options
Diffstat (limited to 'g10/photoid.c')
-rw-r--r-- | g10/photoid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/photoid.c b/g10/photoid.c index 1ac1218d7..66e4645f9 100644 --- a/g10/photoid.c +++ b/g10/photoid.c @@ -110,7 +110,7 @@ generate_photo_id(PKT_public_key *pk,const char *photo_name) { iobuf_close (file); file = NULL; - errno = EPERM; + gpg_err_set_errno (EPERM); } if(!file) { |