From: Michel Pollet Date: Tue, 22 Nov 2016 10:11:27 +0000 (+0000) Subject: elf: Fix elf_copy_section X-Git-Tag: v1.4~1 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=023e271ff284b3455be0b9fd179b34f626923068;p=sx%2Fsimavr.git elf: Fix elf_copy_section How this ever worked is a wonder Signed-off-by: Michel Pollet --- 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; }