dmraid/tools toollib.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac@xxxxxxxxxxxxxx	2010-07-13 20:16:47

Modified files:
	tools          : toollib.c 

Log message:
	dbg_strdup accepts const char*

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/tools/toollib.c.diff?cvsroot=dm&r1=1.2&r2=1.3

--- dmraid/tools/toollib.c	2008/06/20 21:52:19	1.2
+++ dmraid/tools/toollib.c	2010/07/13 20:16:47	1.3
@@ -108,7 +108,7 @@
 	char *p, *p_sav, *sep;
 	const char delim = *OPT_STR_SEPARATOR(lc);
 
-	if (!(p_sav = dbg_strdup((char *) fmt)))
+	if (!(p_sav = dbg_strdup(fmt)))
 		return log_alloc_err(lc, __func__);
 
 	sep = p_sav;

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux