summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/database.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-15 09:13:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-15 09:13:19 +0000
commit9f2477e546226b37c99104d4524bf94e4dd6b1c0 (patch)
treeea7cc974286bc28087ee6cb9bf0af9a8075d5ffb /usr.sbin/cron/database.c
parent5219d0e1e08f780cb1804eff40e36d2ee4abd355 (diff)
enlarge buffer
Diffstat (limited to 'usr.sbin/cron/database.c')
-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