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

[lvm-devel] LVM2/daemons/dmeventd libdevmapper-event.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac sourceware org	2011-01-06 09:45:05

Modified files:
	daemons/dmeventd: libdevmapper-event.c 

Log message:
	Remove unneeded stack prints after log_error

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/libdevmapper-event.c.diff?cvsroot=lvm2&r1=1.37&r2=1.38

--- LVM2/daemons/dmeventd/libdevmapper-event.c	2010/12/22 15:28:44	1.37
+++ LVM2/daemons/dmeventd/libdevmapper-event.c	2011/01/06 09:45:05	1.38
@@ -432,7 +432,6 @@
 
 		log_error("%s: Can't open client fifo %s: %s",
 			  __func__, fifos->client_path, strerror(errno));
-		stack;
 		return 0;
 	}
 
@@ -441,7 +440,7 @@
 
 	if (!strncmp(DMEVENTD_PATH, "/", 1) && stat(DMEVENTD_PATH, &statbuf)) {
 		log_error("Unable to find dmeventd.");
-		return_0;
+		return 0;
 	}
 
 	pid = fork();
@@ -479,7 +478,6 @@
 	if ((fifos->server = open(fifos->server_path, O_RDWR)) < 0) {
 		log_error("%s: open server fifo %s",
 			  __func__, fifos->server_path);
-		stack;
 		return 0;
 	}
 
@@ -495,7 +493,6 @@
 		log_error("%s: Can't open client fifo %s: %s",
 			  __func__, fifos->client_path, strerror(errno));
 		close(fifos->server);
-		stack;
 		return 0;
 	}
 


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