summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2015-10-14 11:57:26 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2015-10-14 11:57:26 +0200
commit3de5ef759895837fe499cff7fb1fa7798e6d5754 (patch)
tree3d0a1d69051f915a921b2ebf7847f72df5fab00e /kbx
parentpo: Update Japanese translation. (diff)
downloadgnupg2-3de5ef759895837fe499cff7fb1fa7798e6d5754.tar.xz
gnupg2-3de5ef759895837fe499cff7fb1fa7798e6d5754.zip
cleanup: Fix confusion between gpg_error_t and gpg_err_code_t.
* dirmngr/crlcache.c (hash_dbfile): Use gpg_error_t for ERR. * kbx/keybox-update.c (keybox_set_flags): Call gpg_err_code_from_syserror.
Diffstat (limited to 'kbx')
-rw-r--r--kbx/keybox-update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbx/keybox-update.c b/kbx/keybox-update.c
index 4b14b2f23..2eaae86aa 100644
--- a/kbx/keybox-update.c
+++ b/kbx/keybox-update.c
@@ -603,7 +603,7 @@ keybox_set_flags (KEYBOX_HANDLE hd, int what, int idx, unsigned int value)
ec = 0;
if (fseeko (fp, off, SEEK_SET))
- ec = gpg_error_from_syserror ();
+ ec = gpg_err_code_from_syserror ();
else
{
unsigned char tmp[4];