diff options
Diffstat (limited to 'firmware/target/mips/ingenic_x1000')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/installer-x1000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_x1000/installer-x1000.c b/firmware/target/mips/ingenic_x1000/installer-x1000.c index 0a09ad0e91..66aa42d4a1 100644 --- a/firmware/target/mips/ingenic_x1000/installer-x1000.c +++ b/firmware/target/mips/ingenic_x1000/installer-x1000.c | |||
@@ -148,7 +148,7 @@ static int updater_init(struct updater* u) | |||
148 | 148 | ||
149 | /* buf_len is a bit oversized here, but it's not really important */ | 149 | /* buf_len is a bit oversized here, but it's not really important */ |
150 | u->buf_len = u->img_len + sizeof(mtar_t) + 2*CACHEALIGN_SIZE; | 150 | u->buf_len = u->img_len + sizeof(mtar_t) + 2*CACHEALIGN_SIZE; |
151 | u->buf_hnd = core_alloc("boot_image", u->buf_len); | 151 | u->buf_hnd = core_alloc_ex("boot_image", u->buf_len, &buflib_ops_locked); |
152 | if(u->buf_hnd < 0) { | 152 | if(u->buf_hnd < 0) { |
153 | rc = IERR_OUT_OF_MEMORY; | 153 | rc = IERR_OUT_OF_MEMORY; |
154 | goto error; | 154 | goto error; |