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 committed 2012-03-29 06:33:15 +00:00
1 parent 096fe8790a
commit ea7ff25c29
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -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
+1 -1
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;