aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/stack.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-09-24 15:18:59 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-11-20 16:54:17 +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 13896aeec..e6224de7d 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
}