diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-06-09 23:23:44 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-06-09 23:23:44 +0200 |
commit | a02d59bf60cfccdb784850d98871a0c90e24bd64 (patch) | |
tree | 52dfe4a60123a575411598d761e6cbf51c9df55d | |
parent | 0fa27ea9841ce82b8e24fa0ea2975be2ca1137a4 (diff) |
fix -Werror=format-security build
submitted-by: Filipe Rosset
-rw-r--r-- | src/Postscript.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; i<pse->get_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"); |