[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

elf2ecoff.c fix & typo correction.



--- 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