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:
Guennadi Liakhovetski 2024-05-08 15:34:46 +02:00 committed by Maureen Helm
commit 946fd3fda2
2 changed files with 2 additions and 3 deletions

View file

@ -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,