mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +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
@@ -1,6 +1,9 @@
|
||||
lm-sensors CHANGES file
|
||||
-----------------------
|
||||
|
||||
SVN HEAD
|
||||
sensors-detect: Don't choke on systems without PCI
|
||||
|
||||
3.3.2 (2012-03-14)
|
||||
libsensors: Added support for new sysfs attributes
|
||||
Change sysfs detection to survive upcoming kernel changes
|
||||
|
||||
@@ -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