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
@ -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…
x
Reference in New Issue
Block a user