aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/module/common.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2011-11-25 15:09:11 +0000
committerMatt Fleming <matt.fleming@intel.com>2011-12-02 12:13:30 +0000
commit78c144a6d0f6682912ecfd7b8fcd4feabceab735 (patch)
tree3afb952553b2b5a89724f4a489c13c99858c3dac /com32/lib/sys/module/common.c
parent9298b65eaa645d94a17c9663e2cf988626d34def (diff)
downloadsyslinux-78c144a6d0f6682912ecfd7b8fcd4feabceab735.tar.gz
syslinux-78c144a6d0f6682912ecfd7b8fcd4feabceab735.tar.xz
syslinux-78c144a6d0f6682912ecfd7b8fcd4feabceab735.zip
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@intel.com>
Diffstat (limited to 'com32/lib/sys/module/common.c')
-rw-r--r--com32/lib/sys/module/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/sys/module/common.c b/com32/lib/sys/module/common.c
index b1bf2fca..71ee0f03 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;
}
}