gpgme: fix error message macro
@@ -153,7 +153,7 @@ static gpgme_key_t * extractRecipientFromPluginConfig (KeySet * config, Key * er
err = gpgme_get_key (ctx, keyString (gpgRecipientRoot), &key, 0);
if (err)
{
- ELEKTRA_SET_VALIDATION_SEMANTIC_ERROR (errorKey, "Failed to read the specified GPG key. Reason: %s",
+ ELEKTRA_SET_VALIDATION_SEMANTIC_ERRORF (errorKey, "Failed to read the specified GPG key. Reason: %s",
gpgme_strerror (err));
elektraGpgmeKeylistFree (&list);
return NULL;
@@ -183,8 +183,8 @@ static gpgme_key_t * extractRecipientFromPluginConfig (KeySet * config, Key * er
err = gpgme_get_key (ctx, keyString (k), &key, 0);
if (err)
{
- ELEKTRA_SET_VALIDATION_SEMANTIC_ERROR (errorKey, "Failed to read the specified GPG key. Reason: %s",
- gpgme_strerror (err));
+ ELEKTRA_SET_VALIDATION_SEMANTIC_ERRORF (
+ errorKey, "Failed to read the specified GPG key. Reason: %s", gpgme_strerror (err));
elektraGpgmeKeylistFree (&list);
return NULL;
}
