X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fcaps.c;h=039c86f7e206a6bf5ec7a7bb0b85491a65eaacfa;hb=4582426202ad6ac6539305dae2c0b70016f014f4;hp=3c025a98347debabe0867822f1735dbd86cca72f;hpb=83d1cbf1e8bd451008271e2761f6f5826678241b;p=pciutils.git diff --git a/lib/caps.c b/lib/caps.c index 3c025a9..039c86f 100644 --- a/lib/caps.c +++ b/lib/caps.c @@ -128,7 +128,7 @@ pci_find_cap_nr(struct pci_dev *d, unsigned int id, unsigned int type, unsigned int target = (cap_number ? *cap_number : 0); unsigned int index = 0; - pci_fill_info_v35(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS)); + pci_fill_info_v38(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS)); for (c=d->first_cap; c; c=c->next) {