From ab0bceb55043c8ee406713399b51a34dbc3645d0 Mon Sep 17 00:00:00 2001 From: Jeff Garrett Date: Wed, 8 Oct 2014 11:52:56 -0500 Subject: [PATCH] Interpret command line PIDs as PIDs, not TIDs --- ProcessList.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProcessList.c b/ProcessList.c index 7559623c..ae0150e2 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -1074,7 +1074,7 @@ void ProcessList_rebuildPanel(ProcessList* this, bool flags, int following, bool if ( (!p->show) || (userOnly && (p->st_uid != 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) {