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 | 8697080b2d2d0fc9c0da013a03e824ea44855ff3 (patch) | |
tree | 9fce81e409cea68b9217647cad28d493ee91a22b /bfd/bfd.c | |
parent | 22326a2b361bb452c2168f48553b2c24248233f5 (diff) | |
download | binutils-redhat-8697080b2d2d0fc9c0da013a03e824ea44855ff3.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
@@ -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) |