diff options
Diffstat (limited to 'firmware/target/mips')
-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 acc1d7b711..d2f9e4e5e0 100644 --- a/firmware/target/mips/ingenic_x1000/installer-x1000.c +++ b/firmware/target/mips/ingenic_x1000/installer-x1000.c | |||
@@ -151,7 +151,7 @@ static int updater_init(struct updater* u) | |||
151 | 151 | ||
152 | /* buf_len is a bit oversized here, but it's not really important */ | 152 | /* buf_len is a bit oversized here, but it's not really important */ |
153 | u->buf_len = u->img_len + sizeof(mtar_t) + 2*CACHEALIGN_SIZE; | 153 | u->buf_len = u->img_len + sizeof(mtar_t) + 2*CACHEALIGN_SIZE; |
154 | u->buf_hnd = core_alloc_ex("boot_image", u->buf_len, &buflib_ops_locked); | 154 | u->buf_hnd = core_alloc_ex(u->buf_len, &buflib_ops_locked); |
155 | if(u->buf_hnd < 0) { | 155 | if(u->buf_hnd < 0) { |
156 | rc = IERR_OUT_OF_MEMORY; | 156 | rc = IERR_OUT_OF_MEMORY; |
157 | goto error; | 157 | goto error; |