[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT b7d43d0] bsd-user: fix "#if 0"'d printf()

From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT b7d43d0] bsd-user: fix "#if 0"'d printf()
Date: Sun, 04 Oct 2009 13:05:13 -0000

From: Paul Bolle <address@hidden>

Make an "#if 0"'d printf() in load_elf_binary() reflect what the actual
code does (see commit 3bc0bdcaadef1100ce2413af818d9c8e2f6319fc).

Signed-off-by: Paul Bolle <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

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));
             if (retval >= 0) {
                 retval = open(path(elf_interpreter), O_RDONLY);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]