diff options
author | davidn <davidn@FreeBSD.org> | 1999-11-17 16:31:51 +0000 |
---|---|---|
committer | davidn <davidn@FreeBSD.org> | 1999-11-17 16:31:51 +0000 |
commit | 3d4886f969d5f39400eae578201519a3dfcfb1b8 (patch) | |
tree | b50a88e5f93ca216e053af59eccf879f39b77fb5 /usr.bin/top/machine.c | |
parent | 4e5bce5012a9dd830787275282856d88d71b5b6b (diff) | |
download | FreeBSD-src-3d4886f969d5f39400eae578201519a3dfcfb1b8.zip FreeBSD-src-3d4886f969d5f39400eae578201519a3dfcfb1b8.tar.gz |
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.
Diffstat (limited to 'usr.bin/top/machine.c')
-rw-r--r-- | usr.bin/top/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index cbd44fd..0b52a70 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -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; |