2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00

PCI bus is always required even if it might be missing on some

platforms. So don't choke is it is missing. Patch from Jaromir Capik.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6038 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2012-03-29 06:33:15 +00:00
parent 096fe8790a
commit ea7ff25c29
2 changed files with 4 additions and 1 deletions

View File

@@ -2996,7 +2996,7 @@ sub read_sys_dev_pci
my ($dev, @pci_list);
opendir(local *DEVICES, "$devices")
or die "$devices: $!";
or return \@pci_list;
while (defined($dev = readdir(DEVICES))) {
my %record;