X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ls-caps.c;h=bc1443af8a8b457fe6c94798a57291573113e486;hb=7d23054d18402b1891343f090d3cd37d7e83c82f;hp=2c99812c4ed25cdb72c7c71054b53365ec78675c;hpb=8a5d293fb78ca42a969df9e2b617456391636596;p=pciutils.git diff --git a/ls-caps.c b/ls-caps.c index 2c99812..bc1443a 100644 --- a/ls-caps.c +++ b/ls-caps.c @@ -1812,6 +1812,7 @@ show_caps(struct device *d, int where) break; case PCI_CAP_ID_EXP: type = cap_express(d, where, cap); + struct pci_cap* test = pci_find_cap(d->dev, PCI_CAP_ID_EXP, PCI_CAP_NORMAL); can_have_ext_caps = 1; break; case PCI_CAP_ID_MSIX: