diff options
Diffstat (limited to 'src/trust-item.c')
-rw-r--r-- | src/trust-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trust-item.c b/src/trust-item.c index 5a0b5449..f9378c68 100644 --- a/src/trust-item.c +++ b/src/trust-item.c @@ -47,7 +47,7 @@ _gpgme_trust_item_new (gpgme_trust_item_t *r_item) item = calloc (1, sizeof *item); if (!item) - return gpg_error_from_errno (errno); + return gpg_error_from_syserror (); item->_refs = 1; item->keyid = item->_keyid; item->_keyid[16] = '\0'; |