summaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-09-04 01:30:21 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-09-04 01:30:21 +0000
commitd210619b1d595d5590b6bd53e57d23a273d009a8 (patch)
tree3dfe68fb542106eff3c0d92098baab31dda8e9ad /bfd/bfd.c
parentece8785f4e1562fce9d59c021c4704e86f7e74f4 (diff)
downloadgdb-d210619b1d595d5590b6bd53e57d23a273d009a8.tar.gz
* bfd.c (_bfd_default_error_handler): Correct loop exit.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c2
1 files changed, 1 insertions, 1 deletions
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;