]> git.ipfire.org Git - thirdparty/pciutils.git/blobdiff - ls-caps.c
Released as 3.5.5
[thirdparty/pciutils.git] / ls-caps.c
index 0ca46fb3db688b0dd41da4a1aacf9f1154fd341d..d4aebc8e80753d9319923fbf8d25fd5c8e2e3e8f 100644 (file)
--- a/ls-caps.c
+++ b/ls-caps.c
@@ -879,7 +879,7 @@ static void cap_express_root(struct device *d, int where)
   printf("\t\tRootCap: CRSVisible%c\n",
        FLAG(w, PCI_EXP_RTCAP_CRSVIS));
 
-  w = get_conf_word(d, where + PCI_EXP_RTSTA);
+  w = get_conf_long(d, where + PCI_EXP_RTSTA);
   printf("\t\tRootSta: PME ReqID %04x, PMEStatus%c PMEPending%c\n",
        w & PCI_EXP_RTSTA_PME_REQID,
        FLAG(w, PCI_EXP_RTSTA_PME_STATUS),