svn commit: r356762 - head/usr.sbin/pciconf
Scott Long
scottl at FreeBSD.org
Wed Jan 15 16:47:45 UTC 2020
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 at 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,
More information about the svn-src-all
mailing list