mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
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
This commit is contained in:
parent
20e61691a2
commit
fc31408d87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126201
@ -110,7 +110,7 @@ main(int argc, char **argv)
|
|||||||
char *protoname, *cp, *oldoptarg;
|
char *protoname, *cp, *oldoptarg;
|
||||||
int eflag = 0, tflag = 0, pflag = 0, ch;
|
int eflag = 0, tflag = 0, pflag = 0, ch;
|
||||||
char *fspath = NULL;
|
char *fspath = NULL;
|
||||||
char buf[30];
|
char buf[MAXLOGNAME];
|
||||||
|
|
||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
usage();
|
usage();
|
||||||
|
Loading…
Reference in New Issue
Block a user