CVS User Account cvsuser
Wed Dec 13 06:39:16 PST 2006
Log Message:
-----------
Prevent slon from seg faulting when trying to display an error of not being able to open the pid_file

Tags:
----
REL_1_2_STABLE

Modified Files:
--------------
    slony1-engine/src/slon:
        slon.c (r1.66.2.4 -> r1.66.2.5)

-------------- next part --------------
Index: slon.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/slon.c,v
retrieving revision 1.66.2.4
retrieving revision 1.66.2.5
diff -Lsrc/slon/slon.c -Lsrc/slon/slon.c -u -w -r1.66.2.4 -r1.66.2.5
--- src/slon/slon.c
+++ src/slon/slon.c
@@ -327,7 +327,7 @@
 		}
 		else
 		{
-			slon_log(SLON_FATAL, "Cannot open pid_file \"%s\", pid_file\n");
+			slon_log(SLON_FATAL, "Cannot open pid_file \"%s\"\n", pid_file);
 			exit(-1);
 		}
 	}



More information about the Slony1-commit mailing list