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

[Cluster-devel] cluster/group/dlm_controld action.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2006-07-24 18:50:01

Modified files:
	group/dlm_controld: action.c 

Log message:
	remove duplicate \n from a couple log_debug/log_error

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/dlm_controld/action.c.diff?cvsroot=cluster&r1=1.4&r2=1.5

--- cluster/group/dlm_controld/action.c	2006/07/14 13:59:01	1.4
+++ cluster/group/dlm_controld/action.c	2006/07/24 18:50:01	1.5
@@ -55,16 +55,16 @@
 
 	fd = open(fname, O_WRONLY);
 	if (fd < 0) {
-		log_error("open \"%s\" error %d %d\n", fname, fd, errno);
+		log_error("open \"%s\" error %d %d", fname, fd, errno);
 		return -1;
 	}
 
-	log_debug("write \"%s\" to \"%s\"\n", val, fname);
+	log_debug("write \"%s\" to \"%s\"", val, fname);
 
 	len = strlen(val) + 1;
 	rv = write(fd, val, len);
 	if (rv != len) {
-		log_error("write %d error %d %d\n", len, rv, errno);
+		log_error("write %d error %d %d", len, rv, errno);
 		rv = -1;
 	} else
 		rv = 0;


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