[PATCH] Remove error message if die-code is missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

The simple patch below removes the error message if the die-code entry
is missing in /sys. It has been removed from the 2.6 kernels for a long
time.

It is still present for 2.4 kernels though, so we should keep the code
reading this entry.

Regards,
Aurelien

Index: prog/sensors/chips.c
===================================================================
--- prog/sensors/chips.c	(r?vision 4862)
+++ prog/sensors/chips.c	(copie de travail)
@@ -261,8 +261,7 @@
         print_label(label,10);
         printf("%4.0f\n",cur);
       }
-    } else
-      printf("ERROR: Can't get die-code data!\n");
+    }
     free(label);
   }
 }

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32 at debian.org         | aurelien at aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux