about summary refs log tree commit diff
path: root/debug/fortify_fail.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/fortify_fail.c')
-rw-r--r--debug/fortify_fail.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/debug/fortify_fail.c b/debug/fortify_fail.c
index b1c51662b7..b880f82cb6 100644
--- a/debug/fortify_fail.c
+++ b/debug/fortify_fail.c
@@ -21,8 +21,6 @@ void
 __attribute__ ((noreturn))
 __fortify_fail (const char *msg)
 {
-  /* The loop is added only to keep gcc happy.  */
-  while (1)
-    __libc_message (do_abort, "*** %s ***: terminated\n", msg);
+  __libc_message ("*** %s ***: terminated\n", msg);
 }
 libc_hidden_def (__fortify_fail)