diff options
| author | Will Andrews <will@FreeBSD.org> | 2001-03-12 05:53:54 +0000 |
|---|---|---|
| committer | Will Andrews <will@FreeBSD.org> | 2001-03-12 05:53:54 +0000 |
| commit | 9e138095644f0e666ff58ec7ad46984171758201 (patch) | |
| tree | cf76c21b1e795c85b9a1eb381ecad4b5e35ffaeb /usr.bin | |
| parent | e95f56120b2dd7c32182137d6101b15f49f2820d (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/top/machine.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index 7525589c69106..33c621e5aaeff 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -219,7 +219,9 @@ struct statics *statics; } if (namelength < 8) namelength = 8; - if (namelength > 15) + if (smpmode && namelength > 13) + namelength = 13; + else if (namelength > 15) namelength = 15; if ((kd = kvm_open("/dev/null", "/dev/null", "/dev/null", O_RDONLY, "kvm_open")) == NULL) |
