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;
                }
        }


_______________________________________________
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