summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-09-29 18:40:23 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-09-29 18:40:23 +0000
commit75080ce79d2fb8ae895659326dacf688c8cb7ce9 (patch)
treeab2576a5ebcc8a6d3bc8c2683f435fddae2574fb /htop.c
parentd25a0bc2134059f3ce3a6aa9f97ed1f7ee09d492 (diff)
Use wider PID columns in 64-bit machines with larger pid_max values.
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/htop.c b/htop.c
index 25943b56..10924a1d 100644
--- a/htop.c
+++ b/htop.c
@@ -350,6 +350,7 @@ int main(int argc, char** argv) {
UsersTable* ut = UsersTable_new();
pl = ProcessList_new(ut);
+ Process_getMaxPid();
Header* header = Header_new(pl);
settings = Settings_new(pl, header);

© 2014-2024 Faster IT GmbH | imprint | privacy policy