diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2013-09-21 14:15:20 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2013-09-21 14:15:20 +0000 |
commit | 46faad2b9a5bcc92dbe0ef1588bd1c0480ad0dd6 (patch) | |
tree | 8d876f288103c45eb46981480550c7d3b36ab5d9 | |
parent | a11347447703614180512ff037c5940fa3900f0d (diff) |
more reasonable MAX_COLS for modern displays
(5 arrays of that size, so we're talking a data increase of 2.5K)
okay otto@
-rw-r--r-- | usr.bin/top/top.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/top.h b/usr.bin/top/top.h index eec03d7480f..16dfb7ae6ab 100644 --- a/usr.bin/top/top.h +++ b/usr.bin/top/top.h @@ -1,4 +1,4 @@ -/* $OpenBSD: top.h,v 1.14 2012/12/05 23:20:26 deraadt Exp $ */ +/* $OpenBSD: top.h,v 1.15 2013/09/21 14:15:19 espie Exp $ */ /* * Top users/processes display for Unix @@ -38,7 +38,7 @@ #define VERSION 3 /* Maximum number of columns allowed for display */ -#define MAX_COLS 256 +#define MAX_COLS 768 /* Log base 2 of 1024 is 10 (2^10 == 1024) */ #define LOG1024 10 |