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

Eduard Bloch blade at alioth.debian.org
Sun Jan 28 10:40:06 CET 2007


Author: blade
Date: 2007-01-28 10:40:05 +0100 (Sun, 28 Jan 2007)
New Revision: 698

Modified:
   cdrkit/trunk/wodim/wodim.c
Log:
Correct /dev/cdrom string assignment

Modified: cdrkit/trunk/wodim/wodim.c
===================================================================
--- cdrkit/trunk/wodim/wodim.c	2007-01-27 15:09:21 UTC (rev 697)
+++ cdrkit/trunk/wodim/wodim.c	2007-01-28 09:40:05 UTC (rev 698)
@@ -3812,7 +3812,7 @@
 			fprintf(stderr,	"Unable to guess the target %s writer. Please specify manually using\n"
 					"dev=... argument or other configuration methods, see wodim(1) for details.\n"
                     "Assuming dev=/dev/cdrom for now.\n", type);
-            result="/dev/cdrom";
+            *devp="/dev/cdrom";
 		}
 #else
 		printf("Guessing of a capable drive not implemented for this plattform yet.\nUse dev=... and --devices to get a list of available drives.\n");




More information about the Debburn-changes mailing list