diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-12-05 22:06:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-12-05 22:06:01 +0000 |
commit | 1b00c865dd3509cc1d570d65c716116a9906d7cd (patch) | |
tree | c2fc33343967e9d0a57e22beabc9051e63376049 /usr.sbin | |
parent | 7d6fc41b08fbb103b8d48fe58bad2763d5e3a792 (diff) |
some MAXPATHLEN +1 thingies
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/dev_mkdb/dev_mkdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dev_mkdb/dev_mkdb.c b/usr.sbin/dev_mkdb/dev_mkdb.c index c23f3d0c750..e198e759377 100644 --- a/usr.sbin/dev_mkdb/dev_mkdb.c +++ b/usr.sbin/dev_mkdb/dev_mkdb.c @@ -39,7 +39,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)dev_mkdb.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$Id: dev_mkdb.c,v 1.3 1997/01/15 23:43:55 millert Exp $"; +static char rcsid[] = "$Id: dev_mkdb.c,v 1.4 1999/12/05 22:06:00 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -76,7 +76,7 @@ main(argc, argv) DBT data, key; int ch; u_char buf[MAXNAMLEN + 1]; - char dbtmp[MAXPATHLEN + 1], dbname[MAXPATHLEN + 1]; + char dbtmp[MAXPATHLEN], dbname[MAXPATHLEN]; while ((ch = getopt(argc, argv, "")) != -1) switch((char)ch) { |