projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d0e7f
)
* elfcode.h (write_shdrs_and_ehdr): Correct bfd_write check.
author
Ian Lance Taylor
<ian@airs.com>
Tue, 5 Apr 1994 16:27:36 +0000
(16:27 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Tue, 5 Apr 1994 16:27:36 +0000
(16:27 +0000)
bfd/elfcode.h
patch
|
blob
|
history
diff --git
a/bfd/elfcode.h
b/bfd/elfcode.h
index 5c5e8cb20c1ce6cb614b3801669ad1c05fcf90a1..8a54d4bf07900944f781f4e981ed13da5dee7a17 100644
(file)
--- a/
bfd/elfcode.h
+++ b/
bfd/elfcode.h
@@
-2327,7
+2327,7
@@
write_shdrs_and_ehdr (abfd)
}
if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_shoff, SEEK_SET) != 0
|| (bfd_write ((PTR) x_shdrp, sizeof (*x_shdrp), i_ehdrp->e_shnum, abfd)
- != sizeof (*x_shdrp)))
+ != sizeof (*x_shdrp)
* i_ehdrp->e_shnum
))
return false;
/* need to dump the string table too... */