From 2cc6f7308f8167d8f3d962bc1cf81bdf1557619d Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 27 Feb 2004 06:43:56 +0000 Subject: [PATCH] Remove wrong comment in Vaio eeprom handling. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2314 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/sensors/chips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/sensors/chips.c b/prog/sensors/chips.c index 28aa44b1..f4015730 100644 --- a/prog/sensors/chips.c +++ b/prog/sensors/chips.c @@ -2853,7 +2853,7 @@ void print_eeprom(const sensors_chip_name *name) /* first make sure it is a Sony Vaio EEPROM */ if (!sensors_get_label_and_valid(*name, SENSORS_EEPROM_VAIO_NAME, &label, &valid) && valid) { - for (i = 0; i < 4; i++) /* stop at first zero */ + for (i = 0; i < 4; i++) if (!sensors_get_feature(*name, SENSORS_EEPROM_VAIO_NAME+i, &a)) buffer[i] = (char) a; if (strncmp(buffer, "PCG-", 4) == 0)