summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-09-25 12:05:34 +0100
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:37 +0100
commit531e5939f47aae5c126f947a06327d2dfc2f4afc (patch)
treec58d1053dad400b0394f22b3a8744eb826d195c7 /source
parent41c8f19eb3e9cc422b77755882c0a1bfeeb85530 (diff)
downloadmupdf-531e5939f47aae5c126f947a06327d2dfc2f4afc.tar.xz
Avoid security warning.
Diffstat (limited to 'source')
-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));
}
}