diff options
Diffstat (limited to 'bootloader')
-rw-r--r-- | bootloader/x1000/boot.c | 2 | ||||
-rw-r--r-- | bootloader/x1000/utils.c | 2 |
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) | |||
72 | int ret; | 72 | int ret; |
73 | 73 | ||
74 | size_t max_size; | 74 | size_t max_size; |
75 | int handle = core_alloc_maximum("args", &max_size, &buflib_ops_locked); | 75 | int handle = core_alloc_maximum(&max_size, &buflib_ops_locked); |
76 | if(handle <= 0) { | 76 | if(handle <= 0) { |
77 | splashf(5*HZ, "Out of memory"); | 77 | splashf(5*HZ, "Out of memory"); |
78 | return -2; | 78 | 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) | |||
103 | if(check_disk(true) != DISK_PRESENT) | 103 | if(check_disk(true) != DISK_PRESENT) |
104 | return -1; | 104 | return -1; |
105 | 105 | ||
106 | int handle = core_alloc_maximum("rockbox", sizep, &buflib_ops_locked); | 106 | int handle = core_alloc_maximum(sizep, &buflib_ops_locked); |
107 | if(handle < 0) { | 107 | if(handle < 0) { |
108 | splashf(5*HZ, "Out of memory"); | 108 | splashf(5*HZ, "Out of memory"); |
109 | return -2; | 109 | return -2; |