From a02d59bf60cfccdb784850d98871a0c90e24bd64 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 9 Jun 2014 23:23:44 +0200 Subject: fix -Werror=format-security build submitted-by: Filipe Rosset --- src/Postscript.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Postscript.cxx b/src/Postscript.cxx index c698030..64ebeb7 100644 --- a/src/Postscript.cxx +++ b/src/Postscript.cxx @@ -311,7 +311,7 @@ void PSWriter::write_main_block(FILE *out) { tag_format = PS_TAG_FORMAT; fprintf(out, "\n"); - fprintf(out, ps_header()); + fprintf(out, "%s", ps_header()); for (int i = 1; iget_max_pages(); i++) { if (pse->get_text(i)) { @@ -321,7 +321,7 @@ void PSWriter::write_main_block(FILE *out) { } } - fprintf(out, ps_trailer()); + fprintf(out, "%s", ps_trailer()); fprintf(out, "\n"); fprintf(out, "%s", PSEDIT_END); fprintf(out, "\n"); -- cgit v1.2.3