aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-04-08 16:52:21 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-04-08 16:52:21 -0700
commitceee8633c70e5cad45e2398ab489e59941bdacd3 (patch)
treecf469f4d18a2853e9cb18abbfcfd85866492c6a3
parent16d2e6eaaa01b147d8e85ccb31c85e0f713369a7 (diff)
downloadsyslinux-elf-ceee8633c70e5cad45e2398ab489e59941bdacd3.tar.gz
syslinux-elf-ceee8633c70e5cad45e2398ab489e59941bdacd3.tar.xz
syslinux-elf-ceee8633c70e5cad45e2398ab489e59941bdacd3.zip
sdi.c32: be a tad more verbose.
Print minimal message while loading.
-rw-r--r--com32/modules/sdi.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/com32/modules/sdi.c b/com32/modules/sdi.c
index 364db449..0650a991 100644
--- a/com32/modules/sdi.c
+++ b/com32/modules/sdi.c
@@ -150,10 +150,14 @@ int main(int argc, char *argv[])
return 1;
}
+ fputs("Loading ", stdout);
+ fputs(argv[1], stdout);
+ fputs("... ", stdout);
if (loadfile(argv[1], &data, &data_len)) {
- error("Unable to load file\n");
+ error("failed!\n");
return 1;
}
+ fputs("ok\n", stdout);
boot_sdi(data, data_len);
error("Invalid SDI file or insufficient memory\n");