* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: database.c,v 1.27 2000-09-14 19:02:10 thib Exp $ */
+ /* $Id: database.c,v 1.28 2000-09-15 20:17:15 thib Exp $ */
#include "fcron.h"
if ( (i = getloadavg(l_avg, 3)) != 3 )
debug("got only %d lavg values", i);
- debug("get_lavg: %f, %f, %f", l_avg[0], l_avg[1], l_avg[2]);
+ debug("get_lavg: %lf, %lf, %lf", l_avg[0], l_avg[1], l_avg[2]);
/* the 3 values stored in the fcron lines are the real value *= 10 */
l_avg[0] *= 10;
l_avg[1] *= 10;
|| l_avg[2] < lavg_array[i].l_line->cl_lavg[2] )
)
) {
- debug("lavg '%s' %s %2f:%d %2f:%d %2f:%d",
+ debug("lavg '%s' %s %1lf:%d %1lf:%d %1lf:%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],