about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
 }