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
4e5bce5012
commit
3d4886f969
@ -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