summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1998-07-29 03:31:03 +0000
committerimp <imp@FreeBSD.org>1998-07-29 03:31:03 +0000
commitad4ebd90d87200a7bf8eadf7aff5c30c3595bcb5 (patch)
tree77a80d60da5ae73d87581e1dcad266ec15a66c55 /usr.sbin/amd
parent3bf295a8880ed4cae3bfb2af54b467c9a2579c8b (diff)
downloadFreeBSD-src-ad4ebd90d87200a7bf8eadf7aff5c30c3595bcb5.zip
FreeBSD-src-ad4ebd90d87200a7bf8eadf7aff5c30c3595bcb5.tar.gz
MAXPATHLEN is long enough
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/config/mtab_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/amd/config/mtab_file.c b/usr.sbin/amd/config/mtab_file.c
index 75f92b1..c5ae325 100644
--- a/usr.sbin/amd/config/mtab_file.c
+++ b/usr.sbin/amd/config/mtab_file.c
@@ -37,7 +37,7 @@
*
* @(#)mtab_file.c 8.1 (Berkeley) 6/6/93
*
- * $Id: mtab_file.c,v 1.5 1998/07/29 03:23:18 imp Exp $
+ * $Id: mtab_file.c,v 1.6 1998/07/29 03:25:08 imp Exp $
*
*/
@@ -271,7 +271,7 @@ mntlist *mp;
* directory as the target mount table
* so that rename() will work.
*/
- char tmpname[MAXPATHLEN + 1];
+ char tmpname[MAXPATHLEN];
int retries;
int tmpfd;
char *cp;
OpenPOWER on IntegriCloud