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

[Cluster-devel] cluster/group/gfs_controld recover.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2006-08-15 21:38:00

Modified files:
	group/gfs_controld: recover.c 

Log message:
	errors opening sysfs files are normal/expected in many cases, so
	don't complain in syslog about it

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/recover.c.diff?cvsroot=cluster&r1=1.12&r2=1.13

--- cluster/group/gfs_controld/recover.c	2006/08/14 17:22:53	1.12
+++ cluster/group/gfs_controld/recover.c	2006/08/15 21:38:00	1.13
@@ -41,7 +41,7 @@
 
 	fd = open(fname, O_RDWR);
 	if (fd < 0) {
-		log_error("open %s error %d %d", fname, fd, errno);
+		log_group(mg, "set open %s error %d %d", fname, fd, errno);
 		return -1;
 	}
 
@@ -71,7 +71,7 @@
 
 	fd = open(fname, O_RDONLY);
 	if (fd < 0) {
-		log_error("open %s error %d %d", fname, fd, errno);
+		log_group(mg, "get open %s error %d %d", fname, fd, errno);
 		return -1;
 	}
 


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