diff options
Diffstat (limited to 'CommandLine.c')
-rw-r--r-- | CommandLine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CommandLine.c b/CommandLine.c index 682e0542..83359206 100644 --- a/CommandLine.c +++ b/CommandLine.c @@ -322,14 +322,14 @@ int CommandLine_run(const char* name, int argc, char** argv) { Process_setupColumnWidths(); UsersTable* ut = UsersTable_new(); - Hashtable* dc = DynamicColumns_new(); Hashtable* dm = DynamicMeters_new(); + Hashtable* dc = DynamicColumns_new(); if (!dc) dc = Hashtable_new(0, true); - ProcessList* pl = ProcessList_new(ut, dm, dc, flags.pidMatchList, flags.userId); + ProcessList* pl = ProcessList_new(ut, flags.pidMatchList, flags.userId); - Settings* settings = Settings_new(pl->activeCPUs, dc); + Settings* settings = Settings_new(pl->activeCPUs, dm, dc); pl->settings = settings; Header* header = Header_new(pl, settings, 2); |