summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-09-15 09:13:18 +0000
committerderaadt <deraadt@openbsd.org>1996-09-15 09:13:18 +0000
commita1e461a7fdc7aba6421a72fcbe691a565bcebadb (patch)
tree833414fbcbe73712a5a8880200ac6a7a59acd3b7
parentDon't add a comma after the last entry in an enum (diff)
downloadwireguard-openbsd-a1e461a7fdc7aba6421a72fcbe691a565bcebadb.tar.xz
wireguard-openbsd-a1e461a7fdc7aba6421a72fcbe691a565bcebadb.zip
enlarge buffer
-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 8c3ad734a63..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.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