diff options
author | ceri <ceri@FreeBSD.org> | 2004-02-24 20:58:16 +0000 |
---|---|---|
committer | ceri <ceri@FreeBSD.org> | 2004-02-24 20:58:16 +0000 |
commit | 97f7ec13f100e5efd9404787f5dfe27e22b30d85 (patch) | |
tree | a69be065cca943422b176452d979fb88b96ce2e0 /usr.sbin/edquota/edquota.c | |
parent | 1849fdd1ac82def384a52143515d83a723132c57 (diff) | |
download | FreeBSD-src-97f7ec13f100e5efd9404787f5dfe27e22b30d85.zip FreeBSD-src-97f7ec13f100e5efd9404787f5dfe27e22b30d85.tar.gz |
Have edquota honour MAXLOGNAME rather than hardcoding the maximum
username length to 29 characters.
PR: misc/62944
Submitted by: David Hill <david@wmol.com>
Approved by: ru
MFC after: 1 week
Diffstat (limited to 'usr.sbin/edquota/edquota.c')
-rw-r--r-- | usr.sbin/edquota/edquota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c index a030877..87ef4df 100644 --- a/usr.sbin/edquota/edquota.c +++ b/usr.sbin/edquota/edquota.c @@ -110,7 +110,7 @@ main(int argc, char **argv) char *protoname, *cp, *oldoptarg; int eflag = 0, tflag = 0, pflag = 0, ch; char *fspath = NULL; - char buf[30]; + char buf[MAXLOGNAME]; if (argc < 2) usage(); |