mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +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;
|
||||
int eflag = 0, tflag = 0, pflag = 0, ch;
|
||||
char *fspath = NULL;
|
||||
char buf[30];
|
||||
char buf[MAXLOGNAME];
|
||||
|
||||
if (argc < 2)
|
||||
usage();
|
||||
|
|
Loading…
Reference in a new issue