diff options
author | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-04-22 18:47:42 -0300 |
---|---|---|
committer | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-04-22 18:47:42 -0300 |
commit | ffaf0b3361ae9e8179cbdb6a9866884bcb7d7b46 (patch) | |
tree | 7d0a0b9c8ef3081c9e965496b6f04ede5d9404f0 /hardinfo2 | |
parent | 67ee5ec27c7fd54f2ab73f7440f6d235bb9a2e23 (diff) | |
parent | f89d271f8c55c5d4d62a5f0e44c84a3e2e2f190a (diff) |
Update upstream source from tag 'upstream/2.0.11pre'
Update to upstream version '2.0.11pre'
with Debian dir b3754f1ca6602d6d2de2514b9ff472a2d8cabd57
Diffstat (limited to 'hardinfo2')
-rw-r--r-- | hardinfo2/pci_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |