From 3733d24a9066bdd3e038d642a62cf642abd0b0bf Mon Sep 17 00:00:00 2001 From: Marvin W Date: Thu, 30 Mar 2017 21:26:17 +0200 Subject: Fix -Werror=format-security issues --- plugins/gpgme-vala/vapi/gpgme.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/gpgme-vala') 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()); } } } -- cgit v1.2.3-54-g00ecf