summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-op-run.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-op-run.c')
-rw-r--r--source/pdf/pdf-op-run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-op-run.c b/source/pdf/pdf-op-run.c
index 5db9c20e..528d0847 100644
--- a/source/pdf/pdf-op-run.c
+++ b/source/pdf/pdf-op-run.c
@@ -1367,7 +1367,7 @@ pdf_run_xobject(fz_context *ctx, pdf_run_processor *proc, pdf_xobject *xobj, pdf
{
/* Postpone the problem */
if (errmess[0])
- fz_warn(ctx, errmess);
+ fz_warn(ctx, "%s", errmess);
strcpy(errmess, fz_caught_message(ctx));
}
}
@@ -1381,7 +1381,7 @@ pdf_run_xobject(fz_context *ctx, pdf_run_processor *proc, pdf_xobject *xobj, pdf
{
/* Postpone the problem */
if (errmess[0])
- fz_warn(ctx, errmess);
+ fz_warn(ctx, "%s", errmess);
strcpy(errmess, fz_caught_message(ctx));
}
}