X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fgraph.c;h=679b9c6090ed196caa1d2962f9a30b140c81c0d5;hb=927fa3837641ccc42d6203a2704356f24b9c1ea9;hp=a52b69e40b532914262eb87c9f389cf2aa570b55;hpb=2b9e1441889f40b55cbb026bb50fa16a95e501a4;p=psensor.git diff --git a/src/graph.c b/src/graph.c index a52b69e..679b9c6 100644 --- a/src/graph.c +++ b/src/graph.c @@ -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());