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

[dm-devel] dmraid/tools toollib.c



CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac sourceware org	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;


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