From 16ddd6adb74f1c3fbd01157c0d8c5d52f3bb05ce Mon Sep 17 00:00:00 2001 From: wifiextender Date: Wed, 24 Aug 2016 13:43:10 +0200 Subject: [PATCH] Update the m4 test --- m4/sensors.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/sensors.m4 b/m4/sensors.m4 index 9c5c811..c92dc1a 100644 --- a/m4/sensors.m4 +++ b/m4/sensors.m4 @@ -79,9 +79,9 @@ AC_DEFUN([TEST_SENSORS],[ while (NULL != (chip = sensors_get_detected_chips(NULL, &nr))) { nr2 = 0; - while (NULL != (sensors_get_features(chip, &nr2))) { + while (NULL != (features = sensors_get_features(chip, &nr2))) { nr3 = 0; - while (NULL != (subfeatures = sensors_get_all_subfeatures(chip, &features, &nr3))) { + while (NULL != (subfeatures = sensors_get_all_subfeatures(chip, features, &nr3))) { switch(subfeatures->type) { case SENSORS_SUBFEATURE_IN_INPUT: -- 2.11.0