15 lines
607 B
Diff
15 lines
607 B
Diff
diff -Nru lm_sensors-3.3.5.orig/prog/detect/sensors-detect lm_sensors-3.3.5/prog/detect/sensors-detect
|
|
--- lm_sensors-3.3.5.orig/prog/detect/sensors-detect 2014-01-14 22:51:58.615935000 +0100
|
|
+++ lm_sensors-3.3.5/prog/detect/sensors-detect 2014-06-10 14:29:27.202205868 +0200
|
|
@@ -2674,8 +2674,8 @@
|
|
sub initialize_kernel_version
|
|
{
|
|
chomp($kernel_version = `uname -r`);
|
|
- $kernel_version =~ /(\d+)\.(\d+)\.(\d+)(.*)/;
|
|
- @kernel_version = ($1, $2, $3, $4);
|
|
+ $kernel_version =~ /(\d+)\.(\d+)(.*)/;
|
|
+ @kernel_version = ($1, $2, $3);
|
|
chomp($kernel_arch = `uname -m`);
|
|
|
|
# We only support kernels >= 2.6.5
|