summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2013-09-21 14:15:19 +0000
committerespie <espie@openbsd.org>2013-09-21 14:15:19 +0000
commit11ee9349c4b1d1991e588d0fff5c24e9c8c30425 (patch)
tree9e0ffcc4c06b98a96f8f45dba475efedec6c4475
parentCreate process map holes with UVM_INH_SHARE so that they don't get lost in (diff)
downloadwireguard-openbsd-11ee9349c4b1d1991e588d0fff5c24e9c8c30425.tar.xz
wireguard-openbsd-11ee9349c4b1d1991e588d0fff5c24e9c8c30425.zip
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.h4
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