aboutsummaryrefslogtreecommitdiff
path: root/bfd/srec.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/srec.c')
-rw-r--r--bfd/srec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/srec.c b/bfd/srec.c
index 5fdd68b..a013f9b 100644
--- a/bfd/srec.c
+++ b/bfd/srec.c
@@ -255,7 +255,7 @@ srec_bad_byte (bfd *abfd,
buf[0] = c;
buf[1] = '\0';
}
- (*_bfd_error_handler)
+ _bfd_error_handler
(_("%B:%d: Unexpected character `%s' in S-record file\n"),
abfd, lineno, buf);
bfd_set_error (bfd_error_bad_value);
@@ -483,8 +483,8 @@ srec_scan (bfd *abfd)
min_bytes = 5;
if (bytes < min_bytes)
{
- (*_bfd_error_handler) (_("%B:%d: byte count %d too small\n"),
- abfd, lineno, bytes);
+ _bfd_error_handler (_("%B:%d: byte count %d too small\n"),
+ abfd, lineno, bytes);
bfd_set_error (bfd_error_bad_value);
goto error_return;
}
@@ -574,7 +574,7 @@ srec_scan (bfd *abfd)
check_sum = 255 - (check_sum & 0xff);
if (check_sum != HEX (data))
{
- (*_bfd_error_handler)
+ _bfd_error_handler
(_("%B:%d: Bad checksum in S-record file\n"),
abfd, lineno);
bfd_set_error (bfd_error_bad_value);
@@ -607,7 +607,7 @@ srec_scan (bfd *abfd)
check_sum = 255 - (check_sum & 0xff);
if (check_sum != HEX (data))
{
- (*_bfd_error_handler)
+ _bfd_error_handler
(_("%B:%d: Bad checksum in S-record file\n"),
abfd, lineno);
bfd_set_error (bfd_error_bad_value);