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.
This commit is contained in:
Scott Long 2020-01-15 16:47:44 +00:00
parent a6eb07a961
commit 92471f7ab7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356762

View File

@ -261,12 +261,13 @@ list_devs(const char *name, int verbose, int bars, int bridge, int caps,
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,