[CRIU] [PATCH 1/5] pie: piegen -- Fix compilation warning

Cyrill Gorcunov gorcunov at openvz.org
Thu Jun 11 11:22:18 PDT 2015


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 pie/piegen/elf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pie/piegen/elf.c b/pie/piegen/elf.c
index 8f8448b7bc72..c9580364a834 100644
--- a/pie/piegen/elf.c
+++ b/pie/piegen/elf.c
@@ -476,7 +476,7 @@ int handle_elf(void *mem, size_t size)
 		pr_debug("Copying section '%s'\n" \
 			 "\tstart:0x%lx (gap:0x%lx) size:0x%lx\n",
 			 &secstrings[sh->sh_name], (unsigned long) sh->sh_addr,
-			 (unsigned long)(sh->sh_addr - k), sh->sh_size);
+			 (unsigned long)(sh->sh_addr - k), (unsigned long)sh->sh_size);
 
 		/* write 0 in the gap between the 2 sections */
 		for (;k < sh->sh_addr; k++) {
-- 
2.4.2



More information about the CRIU mailing list