summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user/elfload.c')
-rw-r--r--bsd-user/elfload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c
index 19981f0a9..8ac14b795 100644
--- a/bsd-user/elfload.c
+++ b/bsd-user/elfload.c
@@ -1246,7 +1246,7 @@ int load_elf_binary(struct linux_binprm * bprm, struct target_pt_regs * regs,
}
#if 0
- printf("Using ELF interpreter %s\n", elf_interpreter);
+ printf("Using ELF interpreter %s\n", path(elf_interpreter));
#endif
if (retval >= 0) {
retval = open(path(elf_interpreter), O_RDONLY);
@@ -1268,7 +1268,7 @@ int load_elf_binary(struct linux_binprm * bprm, struct target_pt_regs * regs,
}
if (retval >= 0) {
interp_ex = *((struct exec *) bprm->buf); /* aout exec-header */
- interp_elf_ex=*((struct elfhdr *) bprm->buf); /* elf exec-header */
+ interp_elf_ex = *((struct elfhdr *) bprm->buf); /* elf exec-header */
}
if (retval < 0) {
perror("load_elf_binary3");