From 023e271ff284b3455be0b9fd179b34f626923068 Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Tue, 22 Nov 2016 10:11:27 +0000 Subject: [PATCH] elf: Fix elf_copy_section How this ever worked is a wonder Signed-off-by: Michel Pollet --- simavr/sim/sim_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simavr/sim/sim_elf.c b/simavr/sim/sim_elf.c index 3d01110..a45fe0a 100644 --- a/simavr/sim/sim_elf.c +++ b/simavr/sim/sim_elf.c @@ -234,7 +234,7 @@ elf_copy_section( return -1; memcpy(*dest, data->d_buf, data->d_size); - AVR_LOG(NULL, LOG_TRACE, "Loaded %zu .%s\n", name, data->d_size); + AVR_LOG(NULL, LOG_TRACE, "Loaded %zu %s\n", data->d_size, name); return 0; } -- 2.39.5