From f89d271f8c55c5d4d62a5f0e44c84a3e2e2f190a Mon Sep 17 00:00:00 2001 From: Lucas de Castro Borges Date: Mon, 22 Apr 2024 18:47:37 -0300 Subject: New upstream version 2.0.11pre --- hardinfo2/pci_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2/pci_util.c') diff --git a/hardinfo2/pci_util.c b/hardinfo2/pci_util.c index d4a9dea3..a97d5dc6 100644 --- a/hardinfo2/pci_util.c +++ b/hardinfo2/pci_util.c @@ -299,7 +299,7 @@ static gboolean pci_get_device_sysfs(uint32_t dom, uint32_t bus, uint32_t dev, u s->pcie_width_max = strtoul(tmp, NULL, 0); free(tmp); } - tmp = _sysfs_bus_pci(dom, bus, dev, func, "max_link_width"); + tmp = _sysfs_bus_pci(dom, bus, dev, func, "current_link_width"); if (tmp) { s->pcie_width_curr = strtoul(tmp, NULL, 0); free(tmp); -- cgit v1.2.3