about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-11-16 09:11:27 +0000
committerJakub Jelinek <jakub@redhat.com>2004-11-16 09:11:27 +0000
commit1c1465a4f7e7af0a5c5b512adf82af8174071431 (patch)
tree4788a66a64bf6068563dbd547ddff6b9c5dee850 /sysdeps/unix/sysv
parent4e2e518f6a0ca001e13c06d7463fb179e1e96124 (diff)
downloadglibc-1c1465a4f7e7af0a5c5b512adf82af8174071431.tar.gz
glibc-1c1465a4f7e7af0a5c5b512adf82af8174071431.tar.xz
glibc-1c1465a4f7e7af0a5c5b512adf82af8174071431.zip
Updated to fedora-glibc-20041116T0856
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/libc_fatal.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/libc_fatal.c b/sysdeps/unix/sysv/linux/libc_fatal.c
index c0482d96f3..a79cfbabb9 100644
--- a/sysdeps/unix/sysv/linux/libc_fatal.c
+++ b/sysdeps/unix/sysv/linux/libc_fatal.c
@@ -20,16 +20,13 @@
 #include <fcntl.h>
 #include <paths.h>
 #include <stdarg.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sysdep.h>
 #include <unistd.h>
 #include <sys/syslog.h>
-#ifndef ABORT_INSTRUCTION
-/* No such instruction is available.  */
-# define ABORT_INSTRUCTION
-#endif
 
 /* Abort with an error message.  */
 #include <not-cancel.h>
@@ -153,6 +150,8 @@ void
 __libc_fatal (message)
      const char *message;
 {
-  __libc_message (1, "%s", message);
+  /* The loop is added only to keep gcc happy.  */
+  while (1)
+    __libc_message (1, "%s", message);
 }
 libc_hidden_def (__libc_fatal)