summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-10-15 23:55:39 +0100
committerAidan MacDonald <amachronic@protonmail.com>2023-01-13 10:32:54 +0000
commit1e9ad3ca0d9bf3e917eb2beb460421155144760a (patch)
tree752590b42f338f03223e024fc5b642ac9a8a5598 /bootloader
parent3301c5aa6db76832dbb9af8f72d29b348190fd91 (diff)
downloadrockbox-1e9ad3ca0d9bf3e917eb2beb460421155144760a.tar.gz
rockbox-1e9ad3ca0d9bf3e917eb2beb460421155144760a.zip
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers. Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/x1000/boot.c2
-rw-r--r--bootloader/x1000/utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/x1000/boot.c b/bootloader/x1000/boot.c
index 9e22192516..8b44641604 100644
--- a/bootloader/x1000/boot.c
+++ b/bootloader/x1000/boot.c
@@ -72,7 +72,7 @@ static int read_linux_args(const char* filename)
int ret;
size_t max_size;
- int handle = core_alloc_maximum("args", &max_size, &buflib_ops_locked);
+ int handle = core_alloc_maximum(&max_size, &buflib_ops_locked);
if(handle <= 0) {
splashf(5*HZ, "Out of memory");
return -2;
diff --git a/bootloader/x1000/utils.c b/bootloader/x1000/utils.c
index a2fd500f5d..8d296b234b 100644
--- a/bootloader/x1000/utils.c
+++ b/bootloader/x1000/utils.c
@@ -103,7 +103,7 @@ int load_rockbox(const char* filename, size_t* sizep)
if(check_disk(true) != DISK_PRESENT)
return -1;
- int handle = core_alloc_maximum("rockbox", sizep, &buflib_ops_locked);
+ int handle = core_alloc_maximum(sizep, &buflib_ops_locked);
if(handle < 0) {
splashf(5*HZ, "Out of memory");
return -2;