Date: Wed, 15 Jan 2020 16:47:44 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r356762 - head/usr.sbin/pciconf Message-ID: <202001151647.00FGliYL097197@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001151647.00FGliYL097197>