From ceee8633c70e5cad45e2398ab489e59941bdacd3 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 8 Apr 2008 16:52:21 -0700 Subject: [PATCH] sdi.c32: be a tad more verbose. Print minimal message while loading. --- com32/modules/sdi.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/com32/modules/sdi.c b/com32/modules/sdi.c index 364db44..0650a99 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"); -- 2.7.4