[TRIVIAL] bsd-user: fix "#if 0"'d printf()

Submitted by Paul Bolle on Oct. 4, 2009, 12:49 p.m.

Details

Message ID 1254660594.1713.1.camel@localhost.localdomain
State Superseded
Headers show

Commit Message

Paul Bolle Oct. 4, 2009, 12:49 p.m.
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(-)

Patch hide | download patch | download mbox

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