aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lua
diff options
context:
space:
mode:
authorFerenc Wágner <wferi@niif.hu>2013-12-12 08:07:56 +0100
committerFerenc Wágner <wferi@niif.hu>2014-10-11 21:53:12 +0200
commit5eda1dbc26e34e198ee8ad88931cd07e085a88fa (patch)
treea928ef67e3af4284ce5d4e8e6c80ad97e502572c /com32/lua
parent81ad566f155fac31089fde69c87059b217e7e9b6 (diff)
downloadsyslinux-5eda1dbc26e34e198ee8ad88931cd07e085a88fa.tar.gz
syslinux-5eda1dbc26e34e198ee8ad88931cd07e085a88fa.tar.xz
syslinux-5eda1dbc26e34e198ee8ad88931cd07e085a88fa.zip
lua: make kernel and initrd progress output match in sl_boot_linux
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
Diffstat (limited to 'com32/lua')
-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++ = ',';