# HG changeset patch # User Michiel Broek # Date 1409601999 -7200 # Node ID a86c702c2e4f718767f7307be884fba62d7f6cfb # Parent 111b0e9663dcc787a4ee59ee82367bf95e9fab18 Better profile progress logging diff -r 111b0e9663dc -r a86c702c2e4f thermferm/thermferm.c --- a/thermferm/thermferm.c Mon Sep 01 15:43:13 2014 +0200 +++ b/thermferm/thermferm.c Mon Sep 01 22:06:39 2014 +0200 @@ -1170,8 +1170,8 @@ if (valid_step == TRUE) { if (((minutes == 15) || (minutes == 45)) && (seconds == 1)) { - syslog(LOG_NOTICE, "Profile `%s' running %02d:%02d in step %d, target %.3f degrees", - profile->name, run_hours, run_minutes % 60, current_step, unit->prof_target); + syslog(LOG_NOTICE, "Profile `%s' running %dd %02d:%02d in step %d, target %.3f degrees", + profile->name, run_hours / 24, run_hours % 24, run_minutes % 60, current_step, unit->prof_target); } } else { /*