summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrtools-devel/files')
-rw-r--r--sysutils/cdrtools-devel/files/patch-libscg::scsiopen.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/cdrtools-devel/files/patch-libscg::scsiopen.c b/sysutils/cdrtools-devel/files/patch-libscg::scsiopen.c
new file mode 100644
index 000000000000..2a4f44176f16
--- /dev/null
+++ b/sysutils/cdrtools-devel/files/patch-libscg::scsiopen.c
@@ -0,0 +1,11 @@
+--- libscg/scsiopen.c.orig Tue May 20 21:47:41 2003
++++ libscg/scsiopen.c Tue May 20 21:48:28 2003
+@@ -270,7 +270,7 @@
+ }
+ if (scg__open(scgp, devname) <= 0) {
+ if (errs && scgp->errstr)
+- js_snprintf(errs, slen, scgp->errstr);
++ js_snprintf(errs, slen, "%s", scgp->errstr);
+ scg_sfree(scgp);
+ return ((SCSI *)0);
+ }