From: Thibault Godouet Date: Sat, 16 Sep 2000 12:35:35 +0000 (+0000) Subject: better output of debug informations X-Git-Tag: ver2_9_4~562 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c9afd7143eaaed2704d0c5ec837e5767c99af14;p=thirdparty%2Ffcron.git better output of debug informations --- diff --git a/database.c b/database.c index e9c22f4..f4303bf 100644 --- a/database.c +++ b/database.c @@ -22,7 +22,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: database.c,v 1.28 2000-09-15 20:17:15 thib Exp $ */ + /* $Id: database.c,v 1.29 2000-09-16 12:35:35 thib Exp $ */ #include "fcron.h" @@ -767,7 +767,7 @@ check_lavg(time_t lim) || l_avg[2] < lavg_array[i].l_line->cl_lavg[2] ) ) ) { - debug("lavg '%s' %s %1lf:%d %1lf:%d %1lf:%d", + debug("lavg '%s' %s %.1f:%d %.1f:%d %.1f:%d", lavg_array[i].l_line->cl_shell, (is_lor(lavg_array[i].l_line->cl_option)) ? "or" : "and", l_avg[0], lavg_array[i].l_line->cl_lavg[0],