renamed fct
[psensor.git] / src / graph.c
index a52b69e..679b9c6 100644 (file)
@@ -241,14 +241,14 @@ graph_update(struct psensor **sensors,
 
        mint = get_min_temp(sensors);
 
-       strmin = psensor_value_to_string(SENSOR_TYPE_TEMP,
-                                        mint,
-                                        config->temperature_unit == CELCIUS);
+       strmin = psensor_value_to_str(SENSOR_TYPE_TEMP,
+                                     mint,
+                                     config->temperature_unit == CELCIUS);
 
        maxt = get_max_temp(sensors);
-       strmax = psensor_value_to_string(SENSOR_TYPE_TEMP,
-                                        maxt,
-                                        config->temperature_unit == CELCIUS);
+       strmax = psensor_value_to_str(SENSOR_TYPE_TEMP,
+                                     maxt,
+                                     config->temperature_unit == CELCIUS);
 
        str_btime = time_to_str(get_graph_begin_time_s(config));
        str_etime = time_to_str(get_graph_end_time_s());