Author: scottl
Date: Wed Jan 15 16:47:44 2020
New Revision: 356762
URL: https://svnweb.freebsd.org/changeset/base/356762

Log:
  Fix a spacing error from the previous commit for -ll mode.  Add a little
  more space padding to that mode to give the columns a consistent offset.

Modified:
  head/usr.sbin/pciconf/pciconf.c

Modified: head/usr.sbin/pciconf/pciconf.c
==============================================================================
--- head/usr.sbin/pciconf/pciconf.c     Wed Jan 15 15:59:32 2020        
(r356761)
+++ head/usr.sbin/pciconf/pciconf.c     Wed Jan 15 16:47:44 2020        
(r356762)
@@ -261,12 +261,13 @@ list_devs(const char *name, int verbose, int bars, int
                        return;
                }
                if (listmode == 2)
-                       printf("drv\tselector\tclass   rev hdr vendor device "
-                           "subven subdev\n");
+                       printf("drv\tselector\tclass    rev  hdr  "
+                           "vendor device subven subdev\n");
                for (p = conf; p < &conf[pc.num_matches]; p++) {
                        if (listmode == 2)
                                printf("%s%d@pci%d:%d:%d:%d:"
-                                   "\t%06x  %02x  %02x  %04x  %04x   %04x   
%04x\n",
+                                   "\t%06x   %02x   %02x   "
+                                   "%04x   %04x   %04x   %04x\n",
                                    *p->pd_name ? p->pd_name : "none",
                                    *p->pd_name ? (int)p->pd_unit :
                                    none_count++, p->pc_sel.pc_domain,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to