aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools/files/patch-ai
blob: 4d3b61bc72cc2b4c0d559ec2b38037dcd7139539 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- cdrecord/drv_philips.c.orig	Tue Nov 27 02:08:49 2001
+++ cdrecord/drv_philips.c	Sun Dec 16 13:05:46 2001
@@ -542,10 +542,15 @@
 	 * expects different parameters.
 	 */
 
+	/*
+	 * We need to return some !0 value, otherwise the upper
+	 * layer would still issue a READ BUFFER, sigh.
+	 */
+
 	if (sp)
-		*sp = 0L;
+		*sp = 1L * 1024 * 1024;
 	if (fp)
-		*fp = 0L;
+		*fp = 1L * 1024 * 1024;
 
 	return (100);	/* 100 % */
 }