summaryrefslogtreecommitdiff
path: root/os/osinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/osinit.c')
-rw-r--r--os/osinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/osinit.c b/os/osinit.c
index f4750cf8c..8eb6ab409 100644
--- a/os/osinit.c
+++ b/os/osinit.c
@@ -108,7 +108,7 @@ OsRegisterSigWrapper(OsSigWrapperPtr newSigWrapper)
#if !defined(WIN32) || defined(__CYGWIN__)
static void
#ifdef SA_SIGINFO
-OsSigHandler(int signo, siginfo_t * sip, void *unused)
+OsSigHandler(int signo, siginfo_t * sip, void *sigcontext)
#else
OsSigHandler(int signo)
#endif
@@ -149,7 +149,7 @@ OsSigHandler(int signo)
/* log, cleanup, and abort */
xorg_backtrace();
- xorg_crashreport();
+ xorg_crashreport(signo, sip, sigcontext);
FatalError("Caught signal %d (%s). Server aborting\n",
signo, strsignal(signo));