Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2019 17:30:47 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345646 - head/contrib/elftoolchain/readelf
Message-ID:  <201903281730.x2SHUlTt079051@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Mar 28 17:30:47 2019
New Revision: 345646
URL: https://svnweb.freebsd.org/changeset/base/345646

Log:
  readelf: add newline after dumping dynamic FLAGS / FLAGS_1
  
  All three dump_flags() callers need a newline after printing the flags.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/contrib/elftoolchain/readelf/readelf.c

Modified: head/contrib/elftoolchain/readelf/readelf.c
==============================================================================
--- head/contrib/elftoolchain/readelf/readelf.c	Thu Mar 28 17:22:31 2019	(r345645)
+++ head/contrib/elftoolchain/readelf/readelf.c	Thu Mar 28 17:30:47 2019	(r345646)
@@ -2741,6 +2741,7 @@ dump_flags(struct flag_desc *desc, uint64_t val)
 	}
 	if (val != 0)
 		printf(" unknown (0x%jx)", (uintmax_t)val);
+	printf("\n");
 }
 
 static struct flag_desc dt_flags[] = {
@@ -3524,7 +3525,6 @@ dump_notes_data(const char *name, uint32_t type, const
 				goto unknown;
 			printf("   Features:");
 			dump_flags(note_feature_ctl_flags, ubuf[0]);
-			printf("\n");
 			return;
 		}
 	}



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