summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-05-18 19:09:52 +0000
committerderaadt <deraadt@openbsd.org>1998-05-18 19:09:52 +0000
commit310b482c3fe11e943c9220165c8868e400f756ee (patch)
tree8e2526afe3897e4df0e3e13262afa51cbb45f61d /usr.sbin/edquota
parentMAXHOSTNAMELEN not MAXHOSTNAMELEN+1 (diff)
downloadwireguard-openbsd-310b482c3fe11e943c9220165c8868e400f756ee.tar.xz
wireguard-openbsd-310b482c3fe11e943c9220165c8868e400f756ee.zip
MAXPATHLEN not MAXPATHLEN+1
Diffstat (limited to 'usr.sbin/edquota')
-rw-r--r--usr.sbin/edquota/edquota.c4
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