]> granicus.if.org Git - procps-ng/commitdiff
Fix for Bug:1174313
authorShivkrishna A <nambiarshiva@localhost.localdomain>
Wed, 2 Mar 2016 17:05:55 +0000 (22:35 +0530)
committerShivkrishna A <nambiarshiva@localhost.localdomain>
Wed, 2 Mar 2016 17:05:55 +0000 (22:35 +0530)
ps/output.c

index 6bf53394dfd3fde0dc8fbada5ac2ccadcaff7a61..06f75d3c92e1deeb4742af84bc95ce721d62bee1 100644 (file)
@@ -1674,8 +1674,8 @@ static const format_struct format_array[] = {
 {"sz",        "SZ",      pr_sz,       sr_nop,     5,   0,    HPU, PO|RIGHT},
 {"taskid",    "TASKID",  pr_nop,      sr_nop,     5,   0,    SUN, TO|PIDMAX|RIGHT}, // is this a thread ID?
 {"tdev",      "TDEV",    pr_nop,      sr_nop,     4,   0,    XXX, AN|RIGHT},
-{"thcount",   "THCNT",   pr_nlwp,     sr_nlwp,    5,   0,    AIX, PO|RIGHT},
 {"tgid",      "TGID",    pr_procs,    sr_procs,   5,   0,    LNX, PO|PIDMAX|RIGHT},
+{"thcount",   "THCNT",   pr_nlwp,     sr_nlwp,    5,   0,    AIX, PO|RIGHT},
 {"tid",       "TID",     pr_tasks,    sr_tasks,   5,   0,    AIX, TO|PIDMAX|RIGHT},
 {"time",      "TIME",    pr_time,     sr_time,    8,   0,    U98, ET|RIGHT}, /*cputime*/ /* was 6 wide */
 {"timeout",   "TMOUT",   pr_nop,      sr_nop,     5,   0,    LNX, AN|RIGHT}, // 2.0.xx era