summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/top/machine.c4
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;
OpenPOWER on IntegriCloud