svn commit: r360472 - stable/12/contrib/elftoolchain/readelf
Ed Maste
emaste at FreeBSD.org
Wed Apr 29 17:02:38 UTC 2020
Author: emaste
Date: Wed Apr 29 17:02:37 2020
New Revision: 360472
URL: https://svnweb.freebsd.org/changeset/base/360472
Log:
MFC r345646: readelf: add newline after dumping dynamic FLAGS / FLAGS_1
All three dump_flags() callers need a newline after printing the flags.
Reported by: kib
Sponsored by: The FreeBSD Foundation
Modified:
stable/12/contrib/elftoolchain/readelf/readelf.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/contrib/elftoolchain/readelf/readelf.c
==============================================================================
--- stable/12/contrib/elftoolchain/readelf/readelf.c Wed Apr 29 16:28:40 2020 (r360471)
+++ stable/12/contrib/elftoolchain/readelf/readelf.c Wed Apr 29 17:02:37 2020 (r360472)
@@ -2845,6 +2845,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[] = {
@@ -3628,7 +3629,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;
}
}
More information about the svn-src-stable
mailing list