[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 3bc0bdc] linux-user: fix "#if 0"'d printf()
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 3bc0bdc] linux-user: fix "#if 0"'d printf() |
Date: |
Sun, 04 Oct 2009 12:00:00 -0000 |
From: Paul Bolle <address@hidden>
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 <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 07277a6..62a3f2a 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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 3bc0bdc] linux-user: fix "#if 0"'d printf(),
Anthony Liguori <=
- Prev by Date:
[Qemu-commits] [COMMIT 6458421] tcg/x86_64: add support for ext{8, 16, 32}u_i{32, 64} TCG ops
- Next by Date:
[Qemu-commits] [COMMIT cfc8698] tcg: add ext{8, 16, 32}u_i{32, 64} TCG ops
- Previous by thread:
[Qemu-commits] [COMMIT 6458421] tcg/x86_64: add support for ext{8, 16, 32}u_i{32, 64} TCG ops
- Next by thread:
[Qemu-commits] [COMMIT cfc8698] tcg: add ext{8, 16, 32}u_i{32, 64} TCG ops
- Index(es):