projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16d2e6e
)
sdi.c32: be a tad more verbose.
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 8 Apr 2008 23:52:21 +0000
(16:52 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 8 Apr 2008 23:52:21 +0000
(16:52 -0700)
Print minimal message while loading.
com32/modules/sdi.c
patch
|
blob
|
history
diff --git
a/com32/modules/sdi.c
b/com32/modules/sdi.c
index
364db44
..
0650a99
100644
(file)
--- 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");