diff options
Diffstat (limited to 'payloads/coreinfo/cbfs_module.c')
-rw-r--r-- | payloads/coreinfo/cbfs_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/coreinfo/cbfs_module.c b/payloads/coreinfo/cbfs_module.c index adbe2778aa..93c90e7da9 100644 --- a/payloads/coreinfo/cbfs_module.c +++ b/payloads/coreinfo/cbfs_module.c @@ -68,7 +68,7 @@ static struct cbfile *firstfile(void) static struct cbfile *nextfile(struct cbfile *f) { - f = (struct cbfile *)((u8 *)f + ALIGN(ntohl(f->len) + ntohl(f->offset), + f = (struct cbfile *)((u8 *)f + ALIGN_UP(ntohl(f->len) + ntohl(f->offset), ntohl(header->align))); return getfile(f); } |