Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2019 12:38:58 +0000 (UTC)
From:      Leandro Lupori <luporl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r348684 - stable/12/stand/common
Message-ID:  <201906051238.x55Ccwkg098574@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luporl
Date: Wed Jun  5 12:38:58 2019
New Revision: 348684
URL: https://svnweb.freebsd.org/changeset/base/348684

Log:
  MFC r348025:
  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.
  
  Reported by:  ci (amd64, gcc)

Modified:
  stable/12/stand/common/load_elf.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/stand/common/load_elf.c
==============================================================================
--- stable/12/stand/common/load_elf.c	Wed Jun  5 12:34:28 2019	(r348683)
+++ stable/12/stand/common/load_elf.c	Wed Jun  5 12:38:58 2019	(r348684)
@@ -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?201906051238.x55Ccwkg098574>