aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpgme-vala/vapi
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-30 21:26:17 +0200
committerMarvin W <git@larma.de>2017-03-30 22:38:51 +0200
commit3733d24a9066bdd3e038d642a62cf642abd0b0bf (patch)
treecd62d02094108e2449b68d3da3aa65c03c3f5883 /plugins/gpgme-vala/vapi
parente910b39751a90f977110190b12cdb738f6a1d132 (diff)
downloaddino-3733d24a9066bdd3e038d642a62cf642abd0b0bf.tar.gz
dino-3733d24a9066bdd3e038d642a62cf642abd0b0bf.zip
Fix -Werror=format-security issues
Diffstat (limited to 'plugins/gpgme-vala/vapi')
-rw-r--r--plugins/gpgme-vala/vapi/gpgme.vapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gpgme-vala/vapi/gpgme.vapi b/plugins/gpgme-vala/vapi/gpgme.vapi
index 48d11b8c..0b14185c 100644
--- a/plugins/gpgme-vala/vapi/gpgme.vapi
+++ b/plugins/gpgme-vala/vapi/gpgme.vapi
@@ -506,7 +506,7 @@ namespace GPG {
private void throw_if_error(GPGError.Error error) throws GLib.Error {
if (error.code != GPGError.ErrorCode.NO_ERROR) {
- throw new GLib.Error(-1, error.code, error.to_string());
+ throw new GLib.Error(-1, error.code, "%s", error.to_string());
}
}
}