[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
elf2ecoff.c fix & typo correction.
- To: bugs_(_at_)_openbsd_(_dot_)_org
- Subject: elf2ecoff.c fix & typo correction.
- From: Erick Borsboom <erick_(_at_)_bonzai_(_dot_)_space-ei_(_dot_)_nl>
- Date: Wed, 26 Nov 2003 23:05:23 +0100
- Reply-to: erick_(_at_)_bonzai_(_dot_)_space-ei_(_dot_)_nl
--- elf2ecoff.c.orig Wed Jun 11 00:20:46 2003
+++ elf2ecoff.c Tue Nov 25 17:14:36 2003
@@ -131,7 +131,8 @@
/* Section types we can't handle... */
else if (ph[i].p_type != PT_LOAD) {
fprintf(stderr,
- "Program header %d type %d can't be
converted.\n");
+ "Program header %d type %d can't be
converted.\n",
+ i, ph[i].p_type);
exit(1);
}
/* Writable (data) segment? */
@@ -334,7 +335,7 @@
char ibuf[4096];
int remaining, cur, count;
- /* Go the the start of the ELF symbol table... */
+ /* Go to the start of the ELF symbol table... */
if (lseek(in, offset, SEEK_SET) < 0) {
perror("copy: lseek");
exit(1);
Visit your host, monkey.org