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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to