Skip to contentSkip to conversation

Remove error message if die-code is missing

PATCH In review Aurelien Jarno 2 participants 2 messages Sep 24, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove error message if die-code is missing

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);

}
}

Signature · 9 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw

Hi Aurelien,

Quoted 6 lines · Aurelien Jarno

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.

Patch applied, thanks.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors