llext: (cosmetic) fix a misplaced space and re-use a variable
Use an existing variable instead of re-calculating and fix swapped space and a paranthesis. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
ebde53904d
commit
946fd3fda2
2 changed files with 2 additions and 3 deletions
|
@ -165,8 +165,7 @@ static int llext_find_tables(struct llext_loader *ldr)
|
|||
}
|
||||
|
||||
LOG_DBG("section %d at %zx: name %d, type %d, flags %zx, addr %zx, size %zd",
|
||||
i,
|
||||
(size_t)ldr->hdr.e_shoff + i * ldr->hdr.e_shentsize,
|
||||
i, pos,
|
||||
shdr.sh_name,
|
||||
shdr.sh_type,
|
||||
(size_t)shdr.sh_flags,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue