aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-09-29 21:51:17 +0200
committerErwan Velu <erwan.velu@free.fr>2009-09-29 22:31:26 +0200
commitd5d1a306ce4926f907ace0a7cb79e540cadb77c1 (patch)
treebe5ea68626c814eca513693bfd1bee6d8a89afe6 /com32/modules
parent8ba991f9e17c5bdaa24dccbc5aa0a4e5db690756 (diff)
downloadsyslinux.git-d5d1a306ce4926f907ace0a7cb79e540cadb77c1.tar.gz
syslinux.git-d5d1a306ce4926f907ace0a7cb79e540cadb77c1.tar.xz
syslinux.git-d5d1a306ce4926f907ace0a7cb79e540cadb77c1.zip
chain: missing some \n one error messages
Impact: visual Some \n where missing in some error() calls Signed-off-by: Gert Hulselmans <kimmik999999@yahoo.co.uk>
Diffstat (limited to 'com32/modules')
-rw-r--r--com32/modules/chain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/modules/chain.c b/com32/modules/chain.c
index bdeb82d5..a8c4adea 100644
--- a/com32/modules/chain.c
+++ b/com32/modules/chain.c
@@ -446,7 +446,7 @@ static void do_boot(void *boot_sector, size_t boot_size,
mmap = syslinux_memory_map();
if (!mmap) {
- error("Cannot read system memory map");
+ error("Cannot read system memory map\n");
return;
}
@@ -547,11 +547,11 @@ static void do_boot(void *boot_sector, size_t boot_size,
return;
too_big:
- error("Loader file too large");
+ error("Loader file too large\n");
return;
enomem:
- error("Out of memory");
+ error("Out of memory\n");
return;
}
@@ -614,7 +614,7 @@ int main(int argc, char *argv[])
} else if (!strncmp(argv[i], "seg=", 4)) {
uint32_t segval = strtoul(argv[i] + 4, NULL, 0);
if (segval < 0x50 || segval > 0x9f000) {
- error("Invalid segment");
+ error("Invalid segment\n");
goto bail;
}
opt.seg = segval;