]> mj.ucw.cz Git - pciutils.git/blobdiff - example.c
lspci: Indent PCIe Capability DevCap2 & DevCtl2 correctly
[pciutils.git] / example.c
index 9b24951472f18eee2634d0ac82481adebbee1c8b..7780e55ba461a0bb55ddf444c452b5c8c98cffb8 100644 (file)
--- a/example.c
+++ b/example.c
@@ -20,7 +20,7 @@ int main(void)
   /* Set all options you want -- here we stick with the defaults */
   pci_init(pacc);              /* Initialize the PCI library */
   pci_scan_bus(pacc);          /* We want to get the list of devices */
-  for(dev=pacc->devices; dev; dev=dev->next)   /* Iterate over all devices */
+  for (dev=pacc->devices; dev; dev=dev->next)  /* Iterate over all devices */
     {
       pci_fill_info(dev, PCI_FILL_IDENT | PCI_FILL_BASES | PCI_FILL_CLASS);    /* Fill in header info we need */
       c = pci_read_byte(dev, PCI_INTERRUPT_PIN);                               /* Read config register directly */