projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d39943
)
sdi.c32: support gzipped SDI images
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 2 Sep 2008 21:42:23 +0000
(14:42 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 2 Sep 2008 21:42:23 +0000
(14:42 -0700)
Support gzipped SDI images, simply by replacing loadfile() with
zloadfile(). Suggested by Remi Lefevre.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/modules/sdi.c
patch
|
blob
|
history
diff --git
a/com32/modules/sdi.c
b/com32/modules/sdi.c
index
0650a99
..
68f0efd
100644
(file)
--- a/
com32/modules/sdi.c
+++ b/
com32/modules/sdi.c
@@
-153,7
+153,7
@@
int main(int argc, char *argv[])
fputs("Loading ", stdout);
fputs(argv[1], stdout);
fputs("... ", stdout);
- if (loadfile(argv[1], &data, &data_len)) {
+ if (
z
loadfile(argv[1], &data, &data_len)) {
error("failed!\n");
return 1;
}