Reduce max length of user names to 15 characters to reflect reality.
This also prevents the line-wrap and messed up display that occurs when there happens to be one or more names with 15 chars.
This commit is contained in:
parent
5918196236
commit
dc7c1750c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53281
@ -241,8 +241,8 @@ struct statics *statics;
|
||||
}
|
||||
if (namelength < 8)
|
||||
namelength = 8;
|
||||
if (namelength > 16)
|
||||
namelength = 16;
|
||||
if (namelength > 15)
|
||||
namelength = 15;
|
||||
|
||||
if ((kd = kvm_open(NULL, NULL, NULL, O_RDONLY, "kvm_open")) == NULL)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user