summaryrefslogtreecommitdiff
path: root/print/a2ps/files/patch-psgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/a2ps/files/patch-psgen.c')
-rw-r--r--print/a2ps/files/patch-psgen.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/a2ps/files/patch-psgen.c b/print/a2ps/files/patch-psgen.c
new file mode 100644
index 000000000000..2007d9c4596d
--- /dev/null
+++ b/print/a2ps/files/patch-psgen.c
@@ -0,0 +1,11 @@
+--- lib/psgen.c.orig 2000-01-15 23:15:07 UTC
++++ lib/psgen.c
+@@ -232,7 +232,7 @@ output_marker (a2ps_job * job, const char * kind, ucha
+ default:
+ *buf = '\0';
+ ps_escape_char (job, cp[i], buf);
+- output (jdiv, (char *) buf);
++ output (jdiv, "%s", (char *) buf);
+ break;
+ }
+ }