summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cbfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 596abc5ad2..9e81bd3a3a 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -182,12 +182,12 @@ void *cbfs_boot_load_stage_by_name(const char *name)
return prog_entry(&stage);
}
-size_t cbfs_boot_load_struct(const char *name, void *buf, size_t buf_size)
+size_t cbfs_boot_load_file(const char *name, void *buf, size_t buf_size,
+ uint32_t type)
{
struct cbfsf fh;
uint32_t compression_algo;
size_t decompressed_size;
- uint32_t type = CBFS_TYPE_STRUCT;
if (cbfs_boot_locate(&fh, name, &type) < 0)
return 0;