svn commit: r241757 - head/usr.sbin/pciconf

Warner Losh imp at FreeBSD.org
Fri Oct 19 22:48:22 UTC 2012


Author: imp
Date: Fri Oct 19 22:48:22 2012
New Revision: 241757
URL: http://svn.freebsd.org/changeset/base/241757

Log:
  Indent ecaps the same way we indent caps.
  
  MFC after:	3 days

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

Modified: head/usr.sbin/pciconf/cap.c
==============================================================================
--- head/usr.sbin/pciconf/cap.c	Fri Oct 19 22:47:44 2012	(r241756)
+++ head/usr.sbin/pciconf/cap.c	Fri Oct 19 22:48:22 2012	(r241757)
@@ -660,7 +660,7 @@ list_ecaps(int fd, struct pci_conf *p)
 	if (ecap == 0xffffffff || ecap == 0)
 		return;
 	for (;;) {
-		printf("ecap %04x[%03x] = ", PCI_EXTCAP_ID(ecap), ptr);
+		printf("    ecap %04x[%03x] = ", PCI_EXTCAP_ID(ecap), ptr);
 		switch (PCI_EXTCAP_ID(ecap)) {
 		case PCIZ_AER:
 			ecap_aer(fd, p, ptr, PCI_EXTCAP_VER(ecap));


More information about the svn-src-head mailing list