* bfd.c (_bfd_default_error_handler): Correct loop exit.
authorAlan Modra <amodra@gmail.com>
Sat, 4 Sep 2004 01:30:21 +0000 (01:30 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 4 Sep 2004 01:30:21 +0000 (01:30 +0000)
bfd/ChangeLog
bfd/bfd.c

index 4b101b29300417788d6f91c4d9d9679655577f04..b537b3162ed8dd520a469211e19ab732b57d92d0 100644 (file)
@@ -1,3 +1,7 @@
+2004-09-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c (_bfd_default_error_handler): Correct loop exit.
+
 2004-09-03  Mark Mitchell  <mark@codesourcery.com>
 
        * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors.
index e6f54c699da1f6127e18b696d70a6c14075100c9..8ebc81a9953d33f30d24fdeede90874eeb04167f 100644 (file)
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -437,7 +437,7 @@ _bfd_default_error_handler (const char *fmt, ...)
     abort ();
 
   p = fmt;
-  while (*p != '\0')
+  while (1)
     {
       char *q;
       size_t len, extra, trim;