aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
Diffstat (limited to 'com32')
-rw-r--r--com32/lua/src/syslinux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/lua/src/syslinux.c b/com32/lua/src/syslinux.c
index ea702fa7..5e57db0a 100644
--- a/com32/lua/src/syslinux.c
+++ b/com32/lua/src/syslinux.c
@@ -219,7 +219,7 @@ static int sl_boot_linux(lua_State * L)
msleep(1000);
*/
- printf("Loading kernel %s...\n", kernel);
+ printf("Loading kernel %s... ", kernel);
if (loadfile(kernel, &kernel_data, &kernel_len))
printf("failed!\n");
else
@@ -237,10 +237,10 @@ static int sl_boot_linux(lua_State * L)
initrd = arg;
printf("Loading initrd %s... ", initrd);
- if (initramfs_load_archive(initramfs, initrd)) {
+ if (initramfs_load_archive(initramfs, initrd))
printf("failed!\n");
- }
- printf("ok\n");
+ else
+ printf("ok\n");
if (p)
*p++ = ',';