[master] d519658 A bit of polish

Poul-Henning Kamp phk at varnish-cache.org
Wed Jul 3 14:22:00 CEST 2013


commit d519658e5c04638405ff7ea2559517e6da72eb1d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jul 3 12:21:46 2013 +0000

    A bit of polish

diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index 89e8f4a..850dc4a 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -312,10 +312,11 @@ child_poker(const struct vev *e, int what)
 }
 
 /*=====================================================================
- * SIGSEGV handler
+ * SIGSEGV handler for child process
  */
 
-static void mgt_sigsegv_handler(int s, siginfo_t *si, void *c) {
+static void __match_proto__()
+mgt_sigsegv_handler(int s, siginfo_t *si, void *c) {
 	char buf[1024];
 
 	(void)s;
@@ -327,7 +328,7 @@ static void mgt_sigsegv_handler(int s, siginfo_t *si, void *c) {
 		 __LINE__,
 		 buf,
 		 errno,
-		 0);
+		 VAS_ASSERT);
 }
 
 /*=====================================================================



More information about the varnish-commit mailing list