aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sformat/files/patch-libscg__scsitransp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/sformat/files/patch-libscg__scsitransp.c')
-rw-r--r--sysutils/sformat/files/patch-libscg__scsitransp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/sformat/files/patch-libscg__scsitransp.c b/sysutils/sformat/files/patch-libscg__scsitransp.c
new file mode 100644
index 000000000000..057fec4f2bb9
--- /dev/null
+++ b/sysutils/sformat/files/patch-libscg__scsitransp.c
@@ -0,0 +1,11 @@
+--- libscg/scsitransp.c.orig Fri Apr 20 10:38:05 2001
++++ libscg/scsitransp.c Wed May 28 19:36:31 2003
+@@ -1016,7 +1016,7 @@
+ register Uchar *cp;
+ register int n;
+ {
+- js_fprintf(f, s);
++ js_fprintf(f, "%s", s);
+ while (--n >= 0)
+ js_fprintf(f, " %02X", *cp++);
+ js_fprintf(f, "\n");