summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-11-27 10:33:21 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-11-27 10:33:21 +0000
commit1e29f41c739c0675d94761a5ad266b2033dda9fc (patch)
tree6e7eea3ae80bec871c3e2262478d5053be5813fa /usr.bin
parenta641b5e3db2d3898d9da27b23469717b00ab22ea (diff)
fix prontf arguments and a typo
From: Erick Borsboom <erick@bonzai.space-ei.nl>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/elf2ecoff/elf2ecoff.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/elf2ecoff/elf2ecoff.c b/usr.bin/elf2ecoff/elf2ecoff.c
index 3996c9617f8..4f7774ca49b 100644
--- a/usr.bin/elf2ecoff/elf2ecoff.c
+++ b/usr.bin/elf2ecoff/elf2ecoff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elf2ecoff.c,v 1.4 2003/06/10 22:20:46 deraadt Exp $ */
+/* $OpenBSD: elf2ecoff.c,v 1.5 2003/11/27 10:33:20 henning Exp $ */
/* $NetBSD: elf2ecoff.c,v 1.8 1997/07/20 03:50:54 jonathan Exp $ */
/*
@@ -131,7 +131,8 @@ usage:
/* 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 @@ copy(int out, int in, off_t offset, off_t size)
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);