=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/top.c,v retrieving revision 1.100 retrieving revision 1.101 diff -c -r1.100 -r1.101 *** src/usr.bin/top/top.c 2019/10/08 07:26:59 1.100 --- src/usr.bin/top/top.c 2019/10/08 20:51:03 1.101 *************** *** 1,4 **** ! /* $OpenBSD: top.c,v 1.100 2019/10/08 07:26:59 kn Exp $ */ /* * Top users/processes display for Unix --- 1,4 ---- ! /* $OpenBSD: top.c,v 1.101 2019/10/08 20:51:03 kn Exp $ */ /* * Top users/processes display for Unix *************** *** 531,537 **** i_message(); /* get the string to use for the process area header */ ! header_text = format_header(uname_field, ps.threads); /* update the header area */ i_header(header_text); --- 531,537 ---- i_message(); /* get the string to use for the process area header */ ! header_text = format_header(ps.threads ? NULL : uname_field); /* update the header area */ i_header(header_text); *************** *** 562,569 **** pid_t pid; char * s; ! s = format_next_process(processes, get_userid, ! &pid, ps.threads); i_process(i, s, pid == hlpid); } } --- 562,569 ---- pid_t pid; char * s; ! s = format_next_process(processes, ! ps.threads ? NULL : get_userid, &pid); i_process(i, s, pid == hlpid); } }