From 4ac8e90cc6d627e2c0363d3f4695266f0d80777b Mon Sep 17 00:00:00 2001 From: ngie Date: Tue, 21 May 2019 00:46:47 +0000 Subject: [PATCH] Unbreak the build when `ELF_VERBOSE` is defined after r348005 This change properly terminates the formatting string quote modification done in r348005, which is triggered when `ELF_VERBOSE` is defined. MFC with: r348005 Reported by: ci (amd64, gcc) --- stand/common/load_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/common/load_elf.c b/stand/common/load_elf.c index b47dd25b4a8..6b3ed719f7b 100644 --- a/stand/common/load_elf.c +++ b/stand/common/load_elf.c @@ -509,7 +509,7 @@ __elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, uint64_t off) off -= ehdr->e_entry & ~PAGE_MASK; ehdr->e_entry += off; #ifdef ELF_VERBOSE - printf("ehdr->e_entry 0x%jx", va<->pa off %llx\n", + printf("ehdr->e_entry 0x%jx, va<->pa off %llx\n", (uintmax_t)ehdr->e_entry, off); #endif #else -- 2.42.0