From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuQXQ-0005kU-8j for qemu-devel@nongnu.org; Sun, 04 Oct 2009 08:50:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuQXK-0005jr-SW for qemu-devel@nongnu.org; Sun, 04 Oct 2009 08:50:06 -0400 Received: from [199.232.76.173] (port=59931 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuQXK-0005jo-Lz for qemu-devel@nongnu.org; Sun, 04 Oct 2009 08:50:02 -0400 Received: from smtp-out1.tiscali.nl ([195.241.79.176]:60399) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MuQXK-0004cG-7R for qemu-devel@nongnu.org; Sun, 04 Oct 2009 08:50:02 -0400 Received: from [212.123.169.34] (helo=[192.168.1.61]) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MuQXF-0005vE-Ap for qemu-devel@nongnu.org; Sun, 04 Oct 2009 14:49:57 +0200 From: Paul Bolle Content-Type: text/plain; charset="UTF-8" Date: Sun, 04 Oct 2009 14:49:54 +0200 Message-Id: <1254660594.1713.1.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] [TRIVIAL] bsd-user: fix "#if 0"'d printf() List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Make an "#if 0"'d printf() in load_elf_binary() reflect what the actual code does (see commit 3bc0bdcaadef1100ce2413af818d9c8e2f6319fc). Signed-off-by: Paul Bolle --- 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