diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-20 01:20:21 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-20 01:20:21 -0300 |
commit | ea18a5009102af12f985082b1ef3841ede627d57 (patch) | |
tree | 16513d39ec13b35dc369a6ce1a78ff973c648f72 /ProcessList.c | |
parent | c9cab824e9154c9b73309e899d9ff7417aaa4349 (diff) | |
parent | ab0bceb55043c8ee406713399b51a34dbc3645d0 (diff) |
Merge pull request #134 from jeffgarrett/pid-selection
Interpret command line PIDs as PIDs, not TIDs
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ProcessList.c b/ProcessList.c index e9bff680..160c05b4 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -273,7 +273,7 @@ void ProcessList_rebuildPanel(ProcessList* this) { if ( (!p->show) || (this->userId != (uid_t) -1 && (p->st_uid != this->userId)) || (incFilter && !(String_contains_i(p->comm, incFilter))) - || (this->pidWhiteList && !Hashtable_get(this->pidWhiteList, p->pid)) ) + || (this->pidWhiteList && !Hashtable_get(this->pidWhiteList, p->tgid)) ) hidden = true; if (!hidden) { |