[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] d519658 A bit of polish
From:       Poul-Henning Kamp <phk () varnish-cache ! org>
Date:       2013-07-03 12:22:00
Message-ID: E1UuM4O-0002uj-KG () project ! varnish-software ! com
[Download RAW message or body]

commit d519658e5c04638405ff7ea2559517e6da72eb1d
Author: Poul-Henning Kamp <phk@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);
 }
 
 /*=====================================================================

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic