aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-09-04 01:30:21 +0000
committerAlan Modra <amodra@gmail.com>2004-09-04 01:30:21 +0000
commit3e540f2516ba466ef62422c05037316f8fccd227 (patch)
tree2c8c0c43df035ded8ce68706393e4011e60b8905 /bfd/bfd.c
parentfb603883409b7c56d89b9a8a7a344d18f861bbc5 (diff)
downloadgdb-3e540f2516ba466ef62422c05037316f8fccd227.zip
gdb-3e540f2516ba466ef62422c05037316f8fccd227.tar.gz
gdb-3e540f2516ba466ef62422c05037316f8fccd227.tar.bz2
* 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 e6f54c6..8ebc81a 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;