* aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c,

coffcode.h, elf.c, ieee.c, libaout.h, libbfd.c, oasys.c,
sco-core.c:  Lint:  Second argument of bfd_seek is always file_ptr.
Third argument is SEEK_SET or SEEK_CUR.  Result is always 0 or -1.
This commit is contained in:
John Gilmore
1992-10-15 09:00:09 +00:00
parent dac4929a6d
commit f8e0194018
13 changed files with 161 additions and 139 deletions

View File

@@ -171,7 +171,7 @@ rs6000coff_get_elt_at_filepos (archive, filepos)
n_nfd = look_for_bfd_in_cache (archive, filepos);
if (n_nfd) return n_nfd;
if (0 > bfd_seek (archive, filepos, SEEK_SET)) {
if (0 != bfd_seek (archive, filepos, SEEK_SET)) {
bfd_error = system_call_error;
return NULL;
}