about summary refs log tree commit diff
path: root/debug/stack_chk_fail.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/stack_chk_fail.c')
-rw-r--r--debug/stack_chk_fail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/stack_chk_fail.c b/debug/stack_chk_fail.c
index 4f7346481d..9ab9bc7ceb 100644
--- a/debug/stack_chk_fail.c
+++ b/debug/stack_chk_fail.c
@@ -17,6 +17,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdbool.h>
 
 
 extern char **__libc_argv attribute_hidden;
@@ -25,7 +26,7 @@ void
 __attribute__ ((noreturn))
 __stack_chk_fail (void)
 {
-  __fortify_fail ("stack smashing detected");
+  __fortify_fail_abort (false, "stack smashing detected");
 }
 
 strong_alias (__stack_chk_fail, __stack_chk_fail_local)