diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2009-10-02 14:06:47 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-10-04 13:24:45 +0200 |
commit | 3bc0bdcaadef1100ce2413af818d9c8e2f6319fc (patch) | |
tree | cde3292a32fbbe690d3712cb95c6a2a230cc7b8a /linux-user/elfload.c | |
parent | ee682d27a5f1f43e21b22dd8c55716ba48d8af0d (diff) |
linux-user: fix "#if 0"'d printf()
Make an "#if 0"'d printf() in load_elf_binary(), probably left to aid in
debugging, reflect what the actual code does. The current printf() will
only confuse those who "#if 1" it (it certainly confused me enough to
write this trivial patch).
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r-- | linux-user/elfload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 07277a6a22..62a3f2ac2c 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1454,7 +1454,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); |