diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-18 19:09:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-18 19:09:53 +0000 |
commit | 4b59cedb488f111bb9dc8707c56308072979ca2f (patch) | |
tree | 605542b0aa1338bbdb132915d469a2bbe7422130 /usr.sbin/edquota | |
parent | cd3ed797099e5afbb12fdc44a518639251120a87 (diff) |
MAXPATHLEN not MAXPATHLEN+1
Diffstat (limited to 'usr.sbin/edquota')
-rw-r--r-- | usr.sbin/edquota/edquota.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c index 4cb91bc272e..929f28eb84e 100644 --- a/usr.sbin/edquota/edquota.c +++ b/usr.sbin/edquota/edquota.c @@ -42,7 +42,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)edquota.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$Id: edquota.c,v 1.18 1998/03/22 21:22:59 millert Exp $"; +static char *rcsid = "$Id: edquota.c,v 1.19 1998/05/18 19:09:52 deraadt Exp $"; #endif /* not lint */ /* @@ -75,7 +75,7 @@ struct quotause { struct quotause *next; long flags; struct dqblk dqblk; - char fsname[MAXPATHLEN + 1]; + char fsname[MAXPATHLEN]; char qfname[1]; /* actually longer */ } *getprivs __P((u_int, int)); #define FOUND 0x01 |