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>
diff --git a/subsys/llext/Kconfig b/subsys/llext/Kconfig
index c0dc5e5..8984cb3 100644
--- a/subsys/llext/Kconfig
+++ b/subsys/llext/Kconfig
@@ -27,7 +27,7 @@
 config LLEXT_TYPE_ELF_RELOCATABLE
 	bool "Relocatable ELF file"
 	help
-	  Build and expect relocatable (partially linked )files as the
+	  Build and expect relocatable (partially linked) files as the
 	  binary object type for the llext subsystem. These object files
 	  are generated by the linker by combining multiple object files
 	  into a single one.
diff --git a/subsys/llext/llext.c b/subsys/llext/llext.c
index 35afa99..de90670 100644
--- a/subsys/llext/llext.c
+++ b/subsys/llext/llext.c
@@ -165,8 +165,7 @@
 		}
 
 		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,