CVS User Account cvsuser
Wed Dec 13 06:37:18 PST 2006
Log Message:
-----------
Prevent slon from seg faulting when a pid_file is not able to be opened.

Modified Files:
--------------
    slony1-engine/src/slon:
        slon.c (r1.69 -> r1.70)

-------------- next part --------------
Index: slon.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/slon.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -Lsrc/slon/slon.c -Lsrc/slon/slon.c -u -w -r1.69 -r1.70
--- 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