提交 3bc0bdca 编写于 作者: P Paul Bolle 提交者: Aurelien Jarno

linux-user: fix "#if 0"'d printf()

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: NPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 ee682d27
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册