From: =?utf-8?q?=22Kan-Ru_Chen_=28=E9=99=B3=E4=BE=83=E5=A6=82=29=22?= Date: Sat, 20 Sep 2014 13:12:16 +0800 Subject: Fix -Werror=format-security error --- source/pdf/pdf-op-run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/pdf/pdf-op-run.c b/source/pdf/pdf-op-run.c index 2bea94b..da881b2 100644 --- a/source/pdf/pdf-op-run.c +++ b/source/pdf/pdf-op-run.c @@ -1729,7 +1729,7 @@ run_xobject(pdf_csi *csi, void *state, pdf_obj *resources, pdf_xobject *xobj, co /* Rethrow postponed errors */ if (errmess[0]) - fz_throw(ctx, FZ_ERROR_GENERIC, errmess); + fz_throw(ctx, FZ_ERROR_GENERIC, "%s", errmess); } static void pdf_run_BDC(pdf_csi *csi, void *state)