diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-08-16 01:14:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2004-08-16 01:14:42 +0000 |
commit | 7509925257ec06cca7bb4675028c50056e581008 (patch) | |
tree | d92f9782ee0c0158790d0e9b2e80144a78bdb831 /bfd/bfd.c | |
parent | 8acbf0be209d2b34091bcc68f1247c32071399b2 (diff) | |
download | gdb-7509925257ec06cca7bb4675028c50056e581008.tar.gz |
* bfd.c (_bfd_default_error_handler): Account for doubled '%' in
free space available.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r-- | bfd/bfd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c index b842027a66b..d888eb13337 100644 --- a/bfd/bfd.c +++ b/bfd/bfd.c @@ -531,7 +531,9 @@ _bfd_default_error_handler (const char *fmt, ...) } while (--trim != 0); *q = '\0'; + avail = extra; } + avail -= extra; /* Now double all '%' chars, shuffling the string as we go. */ while (extra != 0) |