Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2019 00:46:47 +0000 (UTC)
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348025 - head/stand/common
Message-ID:  <201905210046.x4L0kl2w090022@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue May 21 00:46:47 2019
New Revision: 348025
URL: https://svnweb.freebsd.org/changeset/base/348025

Log:
  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)

Modified:
  head/stand/common/load_elf.c

Modified: head/stand/common/load_elf.c
==============================================================================
--- head/stand/common/load_elf.c	Tue May 21 00:30:29 2019	(r348024)
+++ head/stand/common/load_elf.c	Tue May 21 00:46:47 2019	(r348025)
@@ -509,7 +509,7 @@ __elfN(loadimage)(struct preloaded_file *fp, elf_file_
 		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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905210046.x4L0kl2w090022>