From 73b26063789f97947dbae01b219c1a6b2697bef9 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 10 Sep 1996 03:38:20 +0000 Subject: [PATCH] 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) --- usr.sbin/cron/cron/database.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/cron/cron/database.c b/usr.sbin/cron/cron/database.c index a1356a545281..58d545dfa48c 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);