[syslinux:elflink] elflink: Include '\n' when printing error messages
syslinux-bot for Matt Fleming
matt.fleming at intel.com
Sat Dec 17 21:19:38 PST 2011
Commit-ID: 78c144a6d0f6682912ecfd7b8fcd4feabceab735
Gitweb: http://www.syslinux.org/commit/78c144a6d0f6682912ecfd7b8fcd4feabceab735
Author: Matt Fleming <matt.fleming at intel.com>
AuthorDate: Fri, 25 Nov 2011 15:09:11 +0000
Committer: Matt Fleming <matt.fleming at intel.com>
CommitDate: Fri, 2 Dec 2011 12:13:30 +0000
elflink: Include '\n' when printing error messages
We need to print a newline character at the end of our error messages
otherwise the syslinux command prompt may overwrite them, making them
impossible to see.
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
com32/lib/sys/module/common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/com32/lib/sys/module/common.c b/com32/lib/sys/module/common.c
index b1bf2fc..71ee0f0 100644
--- a/com32/lib/sys/module/common.c
+++ b/com32/lib/sys/module/common.c
@@ -353,7 +353,7 @@ int check_symbols(struct elf_module *module)
if (strong_count == 0 && weak_count == 0)
{
DBG_PRINT("Symbol %s is undefined\n", crt_name);
- printf("Undef symbol FAIL: %s ",crt_name);
+ printf("Undef symbol FAIL: %s\n",crt_name);
return -1;
}
}
More information about the Syslinux-commits
mailing list