mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-26 12:24:33 +00:00
The format of /proc/cpuinfo on other arches is different from the format on x86. Modify the print_cpu_info function to handle arm and ppc. This change also eliminates Perl warnings caused by non-existent elements in the %cpu hash: Use of uninitialized value in concatenation (.) or string at ./prog/detect/sensors-detect line 3124. Based on a patch from Changqing Li <changqing.li@windriver.com>, GitHub PR: https://github.com/lm-sensors/lm-sensors/pull/168