mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-28 20:58:22 +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:
1 parent
096fe8790a
commit
ea7ff25c29
2 files changed
+4
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user