[Debburn-changes] r705 - cdrkit/trunk/wodim

Eduard Bloch blade at alioth.debian.org
Fri Feb 9 23:22:35 CET 2007


Author: blade
Date: 2007-02-09 23:22:35 +0100 (Fri, 09 Feb 2007)
New Revision: 705

Modified:
   cdrkit/trunk/wodim/wodim.c
Log:
Make it work again, restore the field description

Modified: cdrkit/trunk/wodim/wodim.c
===================================================================
--- cdrkit/trunk/wodim/wodim.c	2007-02-09 22:15:36 UTC (rev 704)
+++ cdrkit/trunk/wodim/wodim.c	2007-02-09 22:22:35 UTC (rev 705)
@@ -3777,10 +3777,9 @@
 ---
 */
 		struct stat statbuf;
-		char *type="CD-R", *guessdev="/dev/cdrw", *result=NULL;
+		char *type="CD-R", *key="Can write CD-R:", *guessdev="/dev/cdrw", *result=NULL;
 		long long filesize=0;
 		FILE *fh;
-		int need_dvdr=0;
 
 		if(tracks>0) {
 			filesize=trackp[tracks].tracksize;
@@ -3792,7 +3791,7 @@
 		if( filesize > 360000*2048 ) {
 			type="DVD-R";
 			guessdev="/dev/dvdrw";
-			need_dvdr=1;
+      key="Can write DVD-R:";
 		}
 
 		fprintf(stderr, "INFO: no device specified, looking for %s drive...\n", type);




More information about the Debburn-changes mailing list