aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules/sdi.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-02 14:42:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-09-02 14:42:23 -0700
commit0d535c6cd9656035baf1c3268f8ed8cfab3c484e (patch)
tree9e39827b861841be34b5210ac63700c8d41159af /com32/modules/sdi.c
parent3d39943921406d5ca7c543f0aec6d20300150fe3 (diff)
downloadsyslinux.git-0d535c6cd9656035baf1c3268f8ed8cfab3c484e.tar.gz
syslinux.git-0d535c6cd9656035baf1c3268f8ed8cfab3c484e.tar.xz
syslinux.git-0d535c6cd9656035baf1c3268f8ed8cfab3c484e.zip
sdi.c32: support gzipped SDI images
Support gzipped SDI images, simply by replacing loadfile() with zloadfile(). Suggested by Remi Lefevre. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/modules/sdi.c')
-rw-r--r--com32/modules/sdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/sdi.c b/com32/modules/sdi.c
index 0650a991..68f0efd1 100644
--- 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 (zloadfile(argv[1], &data, &data_len)) {
error("failed!\n");
return 1;
}