aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules/elf.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-29 11:59:49 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-29 11:59:49 -0800
commit815e226e01e6272afb4d2356cdc55b34294bb218 (patch)
treef24d1806b6bc92b3a97fa72b4d17f2b45df65ae4 /com32/modules/elf.c
parenta7504c1fc6c3f90d30197bf0ecfa23880a375697 (diff)
downloadsyslinux-815e226e01e6272afb4d2356cdc55b34294bb218.tar.gz
syslinux-815e226e01e6272afb4d2356cdc55b34294bb218.tar.xz
syslinux-815e226e01e6272afb4d2356cdc55b34294bb218.zip
Add transparent decompression support to elf.c32
Use zloadfile() to support file decompression in elf.c32.
Diffstat (limited to 'com32/modules/elf.c')
-rw-r--r--com32/modules/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/elf.c b/com32/modules/elf.c
index 772ee49a..9e4a18c7 100644
--- a/com32/modules/elf.c
+++ b/com32/modules/elf.c
@@ -281,7 +281,7 @@ int main(int argc, char *argv[])
return 1;
}
- if (loadfile(argv[1], &data, &data_len)) {
+ if (zloadfile(argv[1], &data, &data_len)) {
error("Unable to load file\n");
return 1;
}