From 3e540f2516ba466ef62422c05037316f8fccd227 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 4 Sep 2004 01:30:21 +0000 Subject: [PATCH] * bfd.c (_bfd_default_error_handler): Correct loop exit. --- bfd/ChangeLog | 4 ++++ bfd/bfd.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4b101b29300..b537b3162ed 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-09-04 Alan Modra + + * bfd.c (_bfd_default_error_handler): Correct loop exit. + 2004-09-03 Mark Mitchell * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors. diff --git a/bfd/bfd.c b/bfd/bfd.c index e6f54c699da..8ebc81a9953 100644 --- 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; -- 2.30.2