diff options
Diffstat (limited to 'usr.bin/top')
-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 7525589..33c621e 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) |