From: thib Date: Fri, 15 Dec 2000 17:51:06 +0000 (+0000) Subject: minor bug corrected : an error message was incomplete X-Git-Tag: ver1564~394 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a346fa8cc165f8e394bda99632041ba0a445a9b;p=fcron minor bug corrected : an error message was incomplete --- diff --git a/fileconf.c b/fileconf.c index 4d017be..63c2081 100644 --- a/fileconf.c +++ b/fileconf.c @@ -22,7 +22,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fileconf.c,v 1.29 2000-12-14 21:19:11 thib Exp $ */ + /* $Id: fileconf.c,v 1.30 2000-12-15 17:51:06 thib Exp $ */ #include "fcrontab.h" @@ -1031,7 +1031,7 @@ read_arys(char *ptr, CF *cf) } else { if (i <= 1) { fprintf(stderr, "%s:%d: runfreq must be 2 or more :" - " skipping line.\n"); + " skipping line.\n", file_name, line); goto exiterr; } cl->cl_runfreq = i; @@ -1096,7 +1096,6 @@ read_period(char *ptr, CF *cf) /* read a line to run periodically (i.e. once a day, once a week, etc) */ { CL *cl = NULL; - unsigned int i = 0; short int remain = 8; Alloc(cl, CL);