diff options
author | peter <peter@FreeBSD.org> | 1996-09-10 03:38:20 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-09-10 03:38:20 +0000 |
commit | 9733973c2d32b120378340c21b5154233733298b (patch) | |
tree | d0484bdfeb5827423b9d4db627cb80b235445aee /usr.sbin/cron | |
parent | 614a655c28be6073db8df17ebd9d375bd8ae8177 (diff) | |
download | FreeBSD-src-9733973c2d32b120378340c21b5154233733298b.zip FreeBSD-src-9733973c2d32b120378340c21b5154233733298b.tar.gz |
personal (ie: with the crontab command) cron tabs were broken by the
last change. :-(
ie: /var/cron/log would report: .. cron[206]: (usage) CAN'T OPEN (%s/%s)
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r-- | usr.sbin/cron/cron/database.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/cron/database.c b/usr.sbin/cron/cron/database.c index a1356a5..58d545d 100644 --- a/usr.sbin/cron/cron/database.c +++ b/usr.sbin/cron/cron/database.c @@ -16,7 +16,7 @@ */ #if !defined(lint) && !defined(LINT) -static char rcsid[] = "$Id: database.c,v 1.1.1.1 1994/08/27 13:43:03 jkh Exp $"; +static char rcsid[] = "$Id: database.c,v 1.2 1996/09/08 23:50:23 pst Exp $"; #endif /* vix 26jan87 [RCS has the log] @@ -113,7 +113,7 @@ load_database(old_db) continue; (void)snprintf(fname, sizeof fname, "%s", dp->d_name); - (void)snprintf(tabname, sizeof tabname, "%s", CRON_TAB(fname)); + (void)snprintf(tabname, sizeof tabname, CRON_TAB(fname)); process_crontab(fname, fname, tabname, &statbuf, &new_db, old_db); |