summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/database.c b/usr.sbin/cron/database.c
index 99c657e9e78..6831c744413 100644
--- a/usr.sbin/cron/database.c
+++ b/usr.sbin/cron/database.c
@@ -16,7 +16,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char rcsid[] = "$Id: database.c,v 1.1 1995/10/18 08:47:30 deraadt Exp $";
+static char rcsid[] = "$Id: database.c,v 1.2 1996/09/15 09:13:18 deraadt Exp $";
#endif
/* vix 26jan87 [RCS has the log]
@@ -102,7 +102,7 @@ load_database(old_db)
while (NULL != (dp = readdir(dir))) {
char fname[MAXNAMLEN+1],
- tabname[MAXNAMLEN+1];
+ tabname[MAXPATHLEN];
/* avoid file names beginning with ".". this is good
* because we would otherwise waste two guaranteed calls