about summary refs log tree commit diff
path: root/src/libmain/stack.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-09-24T13·18+0200
committerEelco Dolstra <edolstra@gmail.com>2018-11-20T15·54+0100
commit5e64470b192271ce60bea2f5c5fcc556227f86a1 (patch)
tree10acb3c4528c5b0cfba5892ec8b0be685fe6b4dd /src/libmain/stack.cc
parent338fcec779a5afb63b333479b5ce88357cd97c0d (diff)
Fix typo
Diffstat (limited to 'src/libmain/stack.cc')
-rw-r--r--src/libmain/stack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/stack.cc b/src/libmain/stack.cc
index 13896aeecb6e..e6224de7d28f 100644
--- a/src/libmain/stack.cc
+++ b/src/libmain/stack.cc
@@ -63,7 +63,7 @@ void detectStackOverflow()
     act.sa_sigaction = sigsegvHandler;
     act.sa_flags = SA_SIGINFO | SA_ONSTACK;
     if (sigaction(SIGSEGV, &act, 0))
-        throw SysError("resetting SIGCHLD");
+        throw SysError("resetting SIGSEGV");
 #endif
 }