* [Qemu-devel] [PATCH] [TRIVIAL] bsd-user: fix "#if 0"'d printf()
@ 2009-10-04 12:49 Paul Bolle
0 siblings, 0 replies; only message in thread
From: Paul Bolle @ 2009-10-04 12:49 UTC (permalink / raw)
To: qemu-devel
Make an "#if 0"'d printf() in load_elf_binary() reflect what the actual
code does (see commit 3bc0bdcaadef1100ce2413af818d9c8e2f6319fc).
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Entirely untested (I do not run *BSD).
bsd-user/elfload.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c
index 33ddcc4..8ac14b7 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);
--
1.6.5.rc2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-04 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-04 12:49 [Qemu-devel] [PATCH] [TRIVIAL] bsd-user: fix "#if 0"'d printf() Paul Bolle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).